mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-27 02:45:52 +00:00
Prepare for situation when port of the signal cannot be found
This commit is contained in:
parent
291b36afeb
commit
53695e6729
2 changed files with 8 additions and 2 deletions
|
@ -503,7 +503,7 @@ bool handle_dff(RTLIL::Module *mod, RTLIL::Cell *dff)
|
|||
// If the register bit cannot change, we can replace it with a constant
|
||||
if (!counter_example_found) {
|
||||
|
||||
RTLIL::SigBit &driver_port = net.driver_port(q_sigbit);
|
||||
RTLIL::SigSpec driver_port = net.driver_port(q_sigbit);
|
||||
RTLIL::Wire *dummy_wire = mod->addWire(NEW_ID, 1);
|
||||
|
||||
for (auto &conn : mod->connections_)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue