memory_map: avoid undriven unused FF inputs for -keepdc

This commit is contained in:
Jannis Harder 2022-06-28 19:05:35 +02:00
parent d78d807a7f
commit a6b440b5c9
1 changed files with 3 additions and 0 deletions

View File

@ -228,6 +228,9 @@ struct MemoryMapWorker
data_reg_out[idx] = w_out; data_reg_out[idx] = w_out;
c->setPort(ID::Q, w_out); c->setPort(ID::Q, w_out);
if (mem.wr_ports.empty())
module->connect(RTLIL::SigSig(w_in, w_out));
} }
} }