mirror of https://github.com/YosysHQ/yosys.git
Merge pull request #1922 from whitequark/write_cxxrtl-disconnected-outputs
write_cxxrtl: ignore disconnected module ports
This commit is contained in:
commit
d8f2a1fda0
|
@ -974,6 +974,8 @@ struct CxxrtlWorker {
|
|||
continue;
|
||||
}
|
||||
if (cell->output(conn.first)) {
|
||||
if (conn.second.empty())
|
||||
continue; // ignore disconnected ports
|
||||
f << indent;
|
||||
dump_sigspec_lhs(conn.second);
|
||||
f << " = " << mangle(cell) << "." << mangle_wire_name(conn.first) << ".curr;\n";
|
||||
|
|
Loading…
Reference in New Issue