diff options
author | Clifford Wolf <clifford@clifford.at> | 2014-07-31 13:19:47 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2014-07-31 13:19:47 +0200 |
commit | 1cb25c05b37b0172dbc50e140fe20f25d973dd8a (patch) | |
tree | 4bccb9f45ccad05346697c79afca9a1b21dced9c /passes/memory/memory_unpack.cc | |
parent | 1202f7aa4bb0f9afde157ebc4701d64e7e38abd8 (diff) |
Moved some stuff to kernel/yosys.{h,cc}, using Yosys:: namespace
Diffstat (limited to 'passes/memory/memory_unpack.cc')
-rw-r--r-- | passes/memory/memory_unpack.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/passes/memory/memory_unpack.cc b/passes/memory/memory_unpack.cc index cdf7db04..3f675ede 100644 --- a/passes/memory/memory_unpack.cc +++ b/passes/memory/memory_unpack.cc @@ -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; |