Skip to content

Commit 3b7999e

Browse files
tpagaraniacomodi
authored andcommitted
add dummy ouput on usused outputs
1 parent a25fb73 commit 3b7999e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

vpr/src/base/netlist_writer.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -902,6 +902,8 @@ class NetlistWriterVisitor : public NetlistVisitor {
902902
verilog_os_ << indent(depth + 1) << "wire " << escape_verilog_identifier(wire_tnode_pair.first) << ";\n";
903903
}
904904
}
905+
906+
verilog_os_ << indent(depth + 1) << "wire DummyOut;\n";
905907

906908
//connections between primary I/Os and their internal wires
907909
verilog_os_ << "\n";
@@ -2154,7 +2156,7 @@ void print_verilog_port(std::ostream& os, const std::string& port_name, const st
21542156
os << "1'b0";
21552157
} else {
21562158
VTR_ASSERT(type == PortType::OUTPUT);
2157-
os << "";
2159+
os << "DummyOut";
21582160
}
21592161
} else {
21602162
//Connected
@@ -2173,7 +2175,7 @@ void print_verilog_port(std::ostream& os, const std::string& port_name, const st
21732175
os << "1'b0";
21742176
} else {
21752177
VTR_ASSERT(type == PortType::OUTPUT);
2176-
os << "";
2178+
os << "DummyOut";
21772179
}
21782180
} else {
21792181
//Connected

0 commit comments

Comments
 (0)