aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorN. Engelhardt <nak@yosyshq.com>2022-08-25 17:09:41 +0200
committerGitHub <noreply@github.com>2022-08-25 17:09:41 +0200
commit0d8ee63d03c1f491443d02f29e19f35d210f3778 (patch)
tree2c03fb4383cbeaaad56ab569c4c5111b2490ef25
parent7d35003c164caab90602d23862dd7f933b50523c (diff)
parent6717e0202399c5b3f08b9a53cfbf1a9763992647 (diff)
downloadyosys-0d8ee63d03c1f491443d02f29e19f35d210f3778.tar.gz
yosys-0d8ee63d03c1f491443d02f29e19f35d210f3778.tar.bz2
yosys-0d8ee63d03c1f491443d02f29e19f35d210f3778.zip
Merge pull request #3461 from YosysHQ/aki/hashlib_assert
-rw-r--r--kernel/hashlib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/hashlib.h b/kernel/hashlib.h
index 0c9f25287..af2827153 100644
--- a/kernel/hashlib.h
+++ b/kernel/hashlib.h
@@ -189,7 +189,7 @@ inline int hashtable_size(int min_size)
if (p >= min_size) return p;
if (sizeof(int) == 4)
- throw std::length_error("hash table exceeded maximum size. use a ILP64 abi for larger tables.");
+ throw std::length_error("hash table exceeded maximum size.\nDesign is likely too large for yosys to handle, if possible try not to flatten the design.");
for (auto p : zero_and_some_primes)
if (100129 * p > min_size) return 100129 * p;