3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-23 00:55:32 +00:00
This commit is contained in:
Akash Levy 2024-11-12 00:59:05 -08:00
parent ddbad572dc
commit 771e5c9996

View file

@ -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).
//