3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-08-10 05:00:52 +00:00

Handle __dummy_o__ and __const[01]__ in read_aiger not abc

This commit is contained in:
Eddie Hung 2019-04-12 18:21:16 -07:00
parent 482a60825b
commit 9bfcd80063
2 changed files with 8 additions and 18 deletions

View file

@ -477,6 +477,10 @@ next_line:
RTLIL::Wire* wire = outputs[variable];
log_assert(wire);
log_assert(wire->port_output);
if (escaped_s.in("__dummy_o__", "__const0__", "__const1__")) {
wire->port_output = false;
continue;
}
if (index == 0) {
// Cope with the fact that a CO might be identical