projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20910fd
)
Minor bugfix in "test_pmgen -generate"
author
Clifford Wolf
<clifford@clifford.at>
Fri, 16 Aug 2019 12:35:13 +0000
(14:35 +0200)
committer
Clifford Wolf
<clifford@clifford.at>
Fri, 16 Aug 2019 12:35:13 +0000
(14:35 +0200)
Signed-off-by: Clifford Wolf <clifford@clifford.at>
passes/pmgen/test_pmgen.cc
patch
|
blob
|
history
diff --git
a/passes/pmgen/test_pmgen.cc
b/passes/pmgen/test_pmgen.cc
index d787d49bee6f48710aca662e1e36c47a0a6f79ec..5f7bf2189b8bfe1953c9a16642494f77079bc795 100644
(file)
--- a/
passes/pmgen/test_pmgen.cc
+++ b/
passes/pmgen/test_pmgen.cc
@@
-156,7
+156,7
@@
void generate_pattern(std::function<void(pm&,std::function<void()>)> 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());