diff options
author | David Shah <dave@ds0.me> | 2020-01-16 12:15:16 +0000 |
---|---|---|
committer | David Shah <dave@ds0.me> | 2020-01-16 12:15:16 +0000 |
commit | b67ba18590f4a4ec5bb3f1062a8b1495e88f14bb (patch) | |
tree | b659fa87f7520e28185dc43f056cee8463fb0a33 /frontend | |
parent | 54c1bc1538342e8680f9c228795f3f1b1d9fd7bb (diff) | |
download | nextpnr-b67ba18590f4a4ec5bb3f1062a8b1495e88f14bb.tar.gz nextpnr-b67ba18590f4a4ec5bb3f1062a8b1495e88f14bb.tar.bz2 nextpnr-b67ba18590f4a4ec5bb3f1062a8b1495e88f14bb.zip |
frontend: Fix hang when loading very large designs
Signed-off-by: David Shah <dave@ds0.me>
Diffstat (limited to 'frontend')
-rw-r--r-- | frontend/frontend_base.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/frontend_base.h b/frontend/frontend_base.h index 45847e21..df562c9a 100644 --- a/frontend/frontend_base.h +++ b/frontend/frontend_base.h @@ -446,7 +446,7 @@ template <typename FrontendType> struct GenericFrontend NetInfo *net; if (impl.is_vector_bit_constant(bits, i)) { // Create a constant driver if one is needed - net = create_constant_net(m, name + "." + port_bit_name + "$const", + net = create_constant_net(m, inst_name.str(ctx) + "." + port_bit_name + "$const", impl.get_vector_bit_constval(bits, i)); } else { // Otherwise, lookup (creating if needed) the net with this index |