mirror of
https://github.com/YosysHQ/yosys
synced 2026-08-07 06:38:26 +00:00
write_xaiger2: don't skip adding POs to map file
Co-authored-by: nella <nella@yosyshq.com>
This commit is contained in:
parent
5e6fcf3b36
commit
7c7bc0c617
1 changed files with 1 additions and 4 deletions
|
|
@ -1273,10 +1273,7 @@ struct XAigerWriter : AigerWriter {
|
|||
for (auto w : top->wires())
|
||||
if (w->port_output)
|
||||
for (int i = 0; i < w->width; i++) {
|
||||
// When a module output is directly driven by an opaque box, we
|
||||
// don't emit it to the mapping file to aid re-integration, but we
|
||||
// do emit a proper PO.
|
||||
if (map_file.is_open() && !driven_by_opaque_box.count(SigBit(w, i))) {
|
||||
if (map_file.is_open()) {
|
||||
map_file << "output " << proper_pos_counter << " " << i
|
||||
<< " " << w->name.c_str() << "\n";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue