More cases where %store/prop/v takes a width.

This commit is contained in:
Stephen Williams 2014-10-22 16:15:10 -07:00
parent 3ddcf03764
commit 24b8752475
1 changed files with 2 additions and 1 deletions

View File

@ -613,7 +613,8 @@ static void store_vec4_to_lval(ivl_statement_t net)
assert(!lsig);
ivl_type_t sub_type = draw_lval_expr(nest);
assert(ivl_type_base(sub_type) == IVL_VT_CLASS);
fprintf(vvp_out, " %%store/prop/v %u;\n", ivl_lval_property_idx(lval));
fprintf(vvp_out, " %%store/prop/v %u, %u;\n",
ivl_lval_property_idx(lval), lwid);
fprintf(vvp_out, " %%pop/obj 1, 0;\n");
} else {