mirror of https://github.com/llvm/circt.git
[ExportVerilog] Remove #ifdef'd out code I inadvertantly committed, NFC.
This commit is contained in:
parent
3cbdf1f139
commit
bb9781ce49
|
@ -3035,25 +3035,7 @@ void ModuleEmitter::emitHWModule(HWModuleOp module) {
|
||||||
|
|
||||||
auto moduleNameAttr = module.getNameAttr();
|
auto moduleNameAttr = module.getNameAttr();
|
||||||
verifyModuleName(module, moduleNameAttr);
|
verifyModuleName(module, moduleNameAttr);
|
||||||
os << "module " << moduleNameAttr.getValue();
|
os << "module " << moduleNameAttr.getValue() << '(';
|
||||||
|
|
||||||
#if 0
|
|
||||||
// If we have any parameters, print them on their own line.
|
|
||||||
if (!module.parameters().empty()) {
|
|
||||||
os << "\n #(";
|
|
||||||
// parameters os
|
|
||||||
<< ") ";
|
|
||||||
|
|
||||||
r"
|
|
||||||
module foo
|
|
||||||
#(parameter[41 : 0] p1 = 17,
|
|
||||||
parameter [0:0] p2) (input clk);
|
|
||||||
|
|
||||||
endmodule";
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
os << '(';
|
|
||||||
if (!portInfo.empty())
|
if (!portInfo.empty())
|
||||||
emitLocationInfoAndNewLine(moduleOpSet);
|
emitLocationInfoAndNewLine(moduleOpSet);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue