mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-07 01:54:10 +00:00
aiger2: Fix relative ordering of PI/POs and box I/Os
This commit is contained in:
parent
8d12492610
commit
f7c7371ea9
|
@ -934,7 +934,7 @@ struct XAigerWriter : AigerWriter {
|
||||||
});
|
});
|
||||||
|
|
||||||
for (auto [cursor, box, def] : opaque_boxes)
|
for (auto [cursor, box, def] : opaque_boxes)
|
||||||
append_box_ports(box, cursor, true);
|
append_box_ports(box, cursor, false);
|
||||||
|
|
||||||
holes_module = design->addModule(NEW_ID);
|
holes_module = design->addModule(NEW_ID);
|
||||||
std::vector<RTLIL::Wire *> holes_pis;
|
std::vector<RTLIL::Wire *> holes_pis;
|
||||||
|
@ -1024,7 +1024,7 @@ struct XAigerWriter : AigerWriter {
|
||||||
}
|
}
|
||||||
|
|
||||||
for (auto [cursor, box, def] : opaque_boxes)
|
for (auto [cursor, box, def] : opaque_boxes)
|
||||||
append_box_ports(box, cursor, false);
|
append_box_ports(box, cursor, true);
|
||||||
|
|
||||||
write_be32(h_buffer, 1);
|
write_be32(h_buffer, 1);
|
||||||
write_be32(h_buffer, pis.size());
|
write_be32(h_buffer, pis.size());
|
||||||
|
|
Loading…
Reference in a new issue