mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-21 21:33:40 +00:00
Moved some stuff to kernel/yosys.{h,cc}, using Yosys:: namespace
This commit is contained in:
parent
1202f7aa4b
commit
1cb25c05b3
41 changed files with 790 additions and 665 deletions
|
@ -31,7 +31,7 @@ static void handle_memory(RTLIL::Module *module, RTLIL::Cell *memory)
|
|||
RTLIL::IdString mem_name = RTLIL::escape_id(memory->parameters.at("\\MEMID").decode_string());
|
||||
|
||||
while (module->memories.count(mem_name) != 0)
|
||||
mem_name += stringf("_%d", RTLIL::autoidx++);
|
||||
mem_name += stringf("_%d", autoidx++);
|
||||
|
||||
RTLIL::Memory *mem = new RTLIL::Memory;
|
||||
mem->name = mem_name;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue