3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-12 12:08:19 +00:00

abc_new: Fix PI confusion in whitebox model export

This commit is contained in:
Martin Povišer 2024-11-13 16:05:58 +01:00
parent 2a3f60bc06
commit 559209c856

View file

@ -1102,7 +1102,7 @@ struct XAigerWriter : AigerWriter {
holes_module->ports.push_back(w->name); holes_module->ports.push_back(w->name);
holes_pis.push_back(w); holes_pis.push_back(w);
} }
in_conn.append(holes_pis[i]); in_conn.append(holes_pis[holes_pi_idx]);
holes_pi_idx++; holes_pi_idx++;
} }
holes_wb->setPort(port_id, in_conn); holes_wb->setPort(port_id, in_conn);