Some variable part select arguments must be drawn before the part select.
Some variable part selects need to draw the select argument before the variable part select is printed e.g.(.array/port).
This commit is contained in:
parent
12783674cb
commit
f9c67e21b2
|
|
@ -1602,9 +1602,10 @@ static void draw_lpm_part(ivl_lpm_t net)
|
|||
net, dly, draw_net_input(ivl_lpm_data(net, 0)));
|
||||
fprintf(vvp_out, ", %u, %u;\n", base, width);
|
||||
} else {
|
||||
const char*sel_symbol = draw_net_input(sel);
|
||||
fprintf(vvp_out, "L_%p%s .part/v %s",
|
||||
net, dly, draw_net_input(ivl_lpm_data(net,0)));
|
||||
fprintf(vvp_out, ", %s", draw_net_input(sel));
|
||||
fprintf(vvp_out, ", %s", sel_symbol);
|
||||
fprintf(vvp_out, ", %u;\n", width);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue