mirror of
https://github.com/YosysHQ/yosys
synced 2026-07-19 21:55:48 +00:00
rtlil: add Module* back-pointer to RTLIL::Memory
This commit is contained in:
parent
9ed93e210b
commit
e70eed3296
7 changed files with 17 additions and 3 deletions
|
|
@ -294,6 +294,7 @@ void Mem::emit() {
|
|||
memid = NEW_ID;
|
||||
mem = new RTLIL::Memory;
|
||||
mem->name = memid;
|
||||
mem->module = module;
|
||||
module->memories[memid] = mem;
|
||||
}
|
||||
mem->width = width;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue