mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-09 15:43:25 +00:00
kernel: big fat patch to use more ID::*, otherwise ID(*)
This commit is contained in:
parent
2d86563bb2
commit
956ecd48f7
152 changed files with 4503 additions and 4391 deletions
|
@ -45,17 +45,17 @@ struct OptMemWorker
|
|||
for (auto cell : module->cells())
|
||||
{
|
||||
if (cell->type == ID($memrd)) {
|
||||
IdString id = cell->getParam(ID(MEMID)).decode_string();
|
||||
IdString id = cell->getParam(ID::MEMID).decode_string();
|
||||
memrd.at(id).push_back(cell->name);
|
||||
}
|
||||
|
||||
if (cell->type == ID($memwr)) {
|
||||
IdString id = cell->getParam(ID(MEMID)).decode_string();
|
||||
IdString id = cell->getParam(ID::MEMID).decode_string();
|
||||
memwr.at(id).push_back(cell->name);
|
||||
}
|
||||
|
||||
if (cell->type == ID($meminit)) {
|
||||
IdString id = cell->getParam(ID(MEMID)).decode_string();
|
||||
IdString id = cell->getParam(ID::MEMID).decode_string();
|
||||
meminit.at(id).push_back(cell->name);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue