frontend: Fix hang when loading very large designs
Signed-off-by: David Shah <dave@ds0.me>
This commit is contained in:
parent
54c1bc1538
commit
b67ba18590
@ -446,7 +446,7 @@ template <typename FrontendType> struct GenericFrontend
|
|||||||
NetInfo *net;
|
NetInfo *net;
|
||||||
if (impl.is_vector_bit_constant(bits, i)) {
|
if (impl.is_vector_bit_constant(bits, i)) {
|
||||||
// Create a constant driver if one is needed
|
// 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));
|
impl.get_vector_bit_constval(bits, i));
|
||||||
} else {
|
} else {
|
||||||
// Otherwise, lookup (creating if needed) the net with this index
|
// Otherwise, lookup (creating if needed) the net with this index
|
||||||
|
Loading…
Reference in New Issue
Block a user