mirror of
https://github.com/YosysHQ/yosys.git
synced 2026-08-22 06:07:26 +02:00
No implicit conversion from IdString to anything else
This commit is contained in:
@@ -126,7 +126,7 @@ static void handle_memory(RTLIL::Module *module, RTLIL::Memory *memory)
|
||||
}
|
||||
|
||||
std::stringstream sstr;
|
||||
sstr << "$mem$" << memory->name << "$" << (autoidx++);
|
||||
sstr << "$mem$" << memory->name.str() << "$" << (autoidx++);
|
||||
|
||||
RTLIL::Cell *mem = module->addCell(sstr.str(), "$mem");
|
||||
mem->parameters["\\MEMID"] = RTLIL::Const(memory->name.str());
|
||||
|
||||
Reference in New Issue
Block a user