mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-06 19:21:23 +00:00
Added ModIndex helper class, some changes to RTLIL::Monitor
This commit is contained in:
parent
97a17d39e2
commit
d13eb7e099
9 changed files with 170 additions and 30 deletions
|
@ -735,9 +735,8 @@ struct MemorySharePass : public Pass {
|
|||
virtual void execute(std::vector<std::string> args, RTLIL::Design *design) {
|
||||
log_header("Executing MEMORY_SHARE pass (consolidating $memrc/$memwr cells).\n");
|
||||
extra_args(args, 1, design);
|
||||
for (auto &mod_it : design->modules_)
|
||||
if (design->selected(mod_it.second))
|
||||
MemoryShareWorker(design, mod_it.second);
|
||||
for (auto module : design->selected_modules())
|
||||
MemoryShareWorker(design, module);
|
||||
}
|
||||
} MemorySharePass;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue