mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-25 13:47:02 +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
|
@ -55,12 +55,12 @@ struct DetermineInitPass : public Pass {
|
|||
{
|
||||
for (auto cell : module->selected_cells())
|
||||
{
|
||||
if (cell->type == "\\RAM16S4")
|
||||
if (cell->type == ID(RAM16S4))
|
||||
{
|
||||
cell->setParam("\\INIT_0", determine_init(cell->getParam("\\INIT_0")));
|
||||
cell->setParam("\\INIT_1", determine_init(cell->getParam("\\INIT_1")));
|
||||
cell->setParam("\\INIT_2", determine_init(cell->getParam("\\INIT_2")));
|
||||
cell->setParam("\\INIT_3", determine_init(cell->getParam("\\INIT_3")));
|
||||
cell->setParam(ID(INIT_0), determine_init(cell->getParam(ID(INIT_0))));
|
||||
cell->setParam(ID(INIT_1), determine_init(cell->getParam(ID(INIT_1))));
|
||||
cell->setParam(ID(INIT_2), determine_init(cell->getParam(ID(INIT_2))));
|
||||
cell->setParam(ID(INIT_3), determine_init(cell->getParam(ID(INIT_3))));
|
||||
cnt++;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue