Resize vector before assigning to a dynamic array word.
Failing to do this leads to an assertion failure in vvp.
This commit is contained in:
parent
02ee1c65d0
commit
d6391490e3
|
|
@ -1020,6 +1020,7 @@ static int show_stmt_assign_sig_darray(ivl_statement_t net)
|
||||||
|
|
||||||
} else if (mux) {
|
} else if (mux) {
|
||||||
draw_eval_vec4(rval);
|
draw_eval_vec4(rval);
|
||||||
|
resize_vec4_wid(rval, ivl_stmt_lwidth(net));
|
||||||
|
|
||||||
/* The %store/dar/vec4 expects the array index to be in index
|
/* The %store/dar/vec4 expects the array index to be in index
|
||||||
register 3. Calculate the index in place. */
|
register 3. Calculate the index in place. */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue