Skip to content

Commit 559209c

Browse files
committed
abc_new: Fix PI confusion in whitebox model export
1 parent 2a3f60b commit 559209c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backends/aiger2/aiger.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1102,7 +1102,7 @@ struct XAigerWriter : AigerWriter {
11021102
holes_module->ports.push_back(w->name);
11031103
holes_pis.push_back(w);
11041104
}
1105-
in_conn.append(holes_pis[i]);
1105+
in_conn.append(holes_pis[holes_pi_idx]);
11061106
holes_pi_idx++;
11071107
}
11081108
holes_wb->setPort(port_id, in_conn);

0 commit comments

Comments
 (0)