abc_new: Fix PI confusion in whitebox model export

This commit is contained in:
Martin Povišer
2024-12-10 14:27:29 +01:00
parent 2a3f60bc06
commit 559209c856
+1 -1
View File
@@ -1102,7 +1102,7 @@ struct XAigerWriter : AigerWriter {
holes_module->ports.push_back(w->name);
holes_pis.push_back(w);
}
in_conn.append(holes_pis[i]);
in_conn.append(holes_pis[holes_pi_idx]);
holes_pi_idx++;
}
holes_wb->setPort(port_id, in_conn);