Port UWIRE assignments to vec4 branch.
This commit is contained in:
parent
1d63875e5d
commit
e66fc7e5cc
|
|
@ -590,8 +590,13 @@ static void store_vec4_to_lval(ivl_statement_t net)
|
||||||
int offset_index = allocate_word();
|
int offset_index = allocate_word();
|
||||||
draw_eval_expr_into_integer(part_off_ex, offset_index);
|
draw_eval_expr_into_integer(part_off_ex, offset_index);
|
||||||
/* Note that flag4 is set by the eval above. */
|
/* Note that flag4 is set by the eval above. */
|
||||||
fprintf(vvp_out, " %%store/vec4 v%p_0, %d, %u;\n",
|
if (ivl_signal_type(lsig)==IVL_SIT_UWIRE) {
|
||||||
lsig, offset_index, lwid);
|
fprintf(vvp_out, " %%force/vec4/off v%p_0, %u;\n",
|
||||||
|
lsig, offset_index);
|
||||||
|
} else {
|
||||||
|
fprintf(vvp_out, " %%store/vec4 v%p_0, %d, %u;\n",
|
||||||
|
lsig, offset_index, lwid);
|
||||||
|
}
|
||||||
clr_word(offset_index);
|
clr_word(offset_index);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue