Fixed dfflibmap for unused output ports
This commit is contained in:
parent
8856cec308
commit
334b0cc803
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue