mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-23 00:55:32 +00:00
Fix mem
This commit is contained in:
parent
ddbad572dc
commit
771e5c9996
1 changed files with 1 additions and 1 deletions
|
@ -367,7 +367,7 @@ RTLIL::IdString new_id_suffix(std::string file, int line, std::string func, std:
|
|||
#define NEW_ABC_ID \
|
||||
module->uniquify(IdString("\\boolopt"))
|
||||
#define NEW_MEM_ID_SUFFIX(suffix) \
|
||||
module->uniquify(mem.mem->name.str() + "_" + suffix)
|
||||
mem.mem ? module->uniquify(mem.mem->name.str() + "_" + suffix) : module->uniquify(string("\\mem_") + suffix)
|
||||
|
||||
// Create a statically allocated IdString object, using for example ID::A or ID($add).
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue