mirror of
https://github.com/YosysHQ/yosys
synced 2025-09-26 19:31:31 +00:00
Add pmgen finish statement, return number of matches
Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
parent
f45dad8220
commit
20910fd7c8
4 changed files with 108 additions and 74 deletions
|
@ -235,7 +235,7 @@ struct TestPmgenPass : public Pass {
|
|||
extra_args(args, argidx, design);
|
||||
|
||||
for (auto module : design->selected_modules())
|
||||
test_pmgen_pm(module, module->selected_cells()).run_reduce(reduce_chain);
|
||||
while (test_pmgen_pm(module, module->selected_cells()).run_reduce(reduce_chain)) {}
|
||||
}
|
||||
|
||||
void execute_reduce_tree(std::vector<std::string> args, RTLIL::Design *design)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue