mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-27 02:45:52 +00:00
abc9: break SCC by setting (* keep *) on output wires
This commit is contained in:
parent
a2c4d98da7
commit
2c65e1abac
4 changed files with 23 additions and 35 deletions
|
@ -831,6 +831,7 @@ void AigerReader::post_process()
|
|||
}
|
||||
else {
|
||||
wire->port_output = false;
|
||||
existing->port_output = true;
|
||||
module->connect(wire, existing);
|
||||
wire = existing;
|
||||
}
|
||||
|
@ -845,8 +846,9 @@ void AigerReader::post_process()
|
|||
wideports_cache[escaped_s] = std::max(wideports_cache[escaped_s], index);
|
||||
}
|
||||
else {
|
||||
module->connect(wire, existing);
|
||||
wire->port_output = false;
|
||||
existing->port_output = true;
|
||||
module->connect(wire, existing);
|
||||
}
|
||||
log_debug(" -> %s\n", log_id(indexed_name));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue