mirror of
https://github.com/YosysHQ/yosys
synced 2026-07-23 15:42:32 +00:00
WIP
This commit is contained in:
parent
1a8a95b472
commit
d13dfc21f4
32 changed files with 1348 additions and 769 deletions
|
|
@ -259,7 +259,7 @@ struct MemoryMapWorker
|
|||
c->setPort(ID::D, w_in);
|
||||
|
||||
std::string w_out_name = stringf("%s[%d]", mem.memid, addr);
|
||||
if (module->wires_.count(w_out_name) > 0)
|
||||
if (module->wire(RTLIL::IdString(w_out_name)) != nullptr)
|
||||
w_out_name = genid(mem.memid, "", addr, "$q");
|
||||
|
||||
RTLIL::Wire *w_out = module->addWire(w_out_name, mem.width);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue