Skip to content

Commit ae4ce81

Browse files
hsoontiejeanlego
authored andcommitted
WIP ODIN_DEBUG: Fix for [0:0] data width segmentation fault (#460)
WIP ODIN_DEBUG: Fix for [0:0] data width segmentation fault SRC: netlist_create_from_ast.cpp Signed-off-by: Hillary Soontiens <[email protected]>
1 parent 53e0895 commit ae4ce81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ODIN_II/SRC/netlist_create_from_ast.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1973,7 +1973,7 @@ void connect_memory_and_alias(ast_node_t* hb_instance, char *instance_name_prefi
19731973
else
19741974
{
19751975
name_of_hb_input = get_name_of_pin_at_bit(hb_instance_var_node, -1, instance_name_prefix);
1976-
full_name = make_full_ref_name(instance_name_prefix, NULL, NULL, name_of_hb_input, -1);
1976+
full_name = make_full_ref_name(instance_name_prefix, NULL, NULL, name_of_hb_input, j);
19771977
vtr::free(name_of_hb_input);
19781978
}
19791979

0 commit comments

Comments
 (0)