aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorAki Van Ness <aki@yosyshq.com>2022-08-25 07:45:01 -0400
committerAki Van Ness <aki@yosyshq.com>2022-08-25 11:08:51 -0400
commit6717e0202399c5b3f08b9a53cfbf1a9763992647 (patch)
treec5afcef0bd09ea6f40a764ca71694d1a2c4b2c0f /kernel
parente3eb114e7549eb6381c6b94f7b36f42b70c122d3 (diff)
downloadyosys-6717e0202399c5b3f08b9a53cfbf1a9763992647.tar.gz
yosys-6717e0202399c5b3f08b9a53cfbf1a9763992647.tar.bz2
yosys-6717e0202399c5b3f08b9a53cfbf1a9763992647.zip
kernel: hashlib: cleaned up message about table size in cases where `sizeof(int) == 4`, (closes #3440)
Diffstat (limited to 'kernel')
-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;