mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-28 00:48:46 +00:00
Account for maxsubcnt overflowing
This commit is contained in:
parent
b32d6bf403
commit
45c34c87ee
1 changed files with 1 additions and 1 deletions
|
@ -217,7 +217,7 @@ void generate_pattern(std::function<void(pm&,std::function<void()>)> run, const
|
||||||
run(matcher, [](){});
|
run(matcher, [](){});
|
||||||
}
|
}
|
||||||
|
|
||||||
if (submodcnt)
|
if (submodcnt && maxsubcnt < (1 << 16))
|
||||||
maxsubcnt *= 2;
|
maxsubcnt *= 2;
|
||||||
|
|
||||||
design->remove(mod);
|
design->remove(mod);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue