Make sure offset of IVL_LPM_ARRAY is integer
This commit is contained in:
parent
9cf4792d53
commit
7677b59650
|
|
@ -213,7 +213,8 @@ static vhdl_expr *array_lpm_to_expr(vhdl_scope *scope, ivl_lpm_t lpm)
|
|||
return NULL;
|
||||
|
||||
vhdl_var_ref *ref = new vhdl_var_ref(renamed, atype);
|
||||
ref->set_slice(select);
|
||||
vhdl_type integer(VHDL_TYPE_INTEGER);
|
||||
ref->set_slice(select->cast(&integer));
|
||||
|
||||
return ref;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue