mirror of https://github.com/YosysHQ/yosys.git
Fixed dfflibmap for unused output ports
This commit is contained in:
parent
8856cec308
commit
334b0cc803
|
@ -419,6 +419,7 @@ static void dfflibmap(RTLIL::Design *design, RTLIL::Module *module)
|
|||
if (port.second == '0' || port.second == '1') {
|
||||
sig = RTLIL::SigSpec(port.second == '0' ? 0 : 1, 1);
|
||||
} else
|
||||
if (port.second != 0)
|
||||
log_abort();
|
||||
new_cell->connections["\\" + port.first] = sig;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue