From: Clifford Wolf Date: Fri, 16 Aug 2019 12:35:13 +0000 (+0200) Subject: Minor bugfix in "test_pmgen -generate" X-Git-Tag: working-ls180~1124^2~7 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=64bd414e54aadc1446e114cf95f33dd95f5cf291;p=yosys.git Minor bugfix in "test_pmgen -generate" Signed-off-by: Clifford Wolf --- diff --git a/passes/pmgen/test_pmgen.cc b/passes/pmgen/test_pmgen.cc index d787d49be..5f7bf2189 100644 --- a/passes/pmgen/test_pmgen.cc +++ b/passes/pmgen/test_pmgen.cc @@ -156,7 +156,7 @@ void generate_pattern(std::function)> run, const int submodcnt = 0, itercnt = 0, cellcnt = 0; Module *mod = design->addModule(NEW_ID); - while (submodcnt < maxsubcnt && itercnt++ < 1000) + while (modcnt < 100 && submodcnt < maxsubcnt && itercnt++ < 1000) { pm matcher(mod, mod->cells());