mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-20 04:43:40 +00:00
73%
This commit is contained in:
parent
4c9f68216a
commit
eeb15ea2a2
17 changed files with 121 additions and 38 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue