3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-06-20 04:43:40 +00:00
This commit is contained in:
Emil J. Tywoniak 2024-06-13 22:50:21 +02:00
parent 4c9f68216a
commit eeb15ea2a2
17 changed files with 121 additions and 38 deletions

View file

@ -339,8 +339,10 @@ struct ParamapPass : public Pass {
extra_args(args, argidx, design);
for (auto module : design->selected_modules())
for (auto cell : module->selected_cells())
attrmap_apply(stringf("%s.%s", log_id(module), log_id(cell)), actions, cell->parameters);
for (auto cell : module->selected_cells()) {
auto params = cell->parameters.as_dict();
attrmap_apply(stringf("%s.%s", log_id(module), log_id(cell)), actions, params);
}
}
} ParamapPass;