3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-22 16:45:32 +00:00

Merge pull request #23 from alaindargelas/fix_runtime_write_verilog

This commit is contained in:
Akash Levy 2024-11-16 17:06:04 -08:00 committed by GitHub
commit 1c2965649d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2359,7 +2359,7 @@ void dump_module(std::ostream &f, std::string indent, RTLIL::Module *module)
for (auto wire : module->wires()) {
wires[wire->port_id] = wire;
}
for (int port_id = 1; port_id < max_port_id; port_id++) {
for (int port_id = 1; port_id <= max_port_id; port_id++) {
Wire *wire = wires[port_id];
if (wire) {
if (port_id != 1)