mirror of https://github.com/YosysHQ/yosys.git
memory_map: avoid undriven unused FF inputs for -keepdc
This commit is contained in:
parent
d78d807a7f
commit
a6b440b5c9
|
@ -228,6 +228,9 @@ struct MemoryMapWorker
|
|||
|
||||
data_reg_out[idx] = w_out;
|
||||
c->setPort(ID::Q, w_out);
|
||||
|
||||
if (mem.wr_ports.empty())
|
||||
module->connect(RTLIL::SigSig(w_in, w_out));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue