alkaios
Newbie level 5
i want to implement the following operation in vhdl:
x(52:0) = y(23:0) >> z
(>> is the logical right shift)
value of z is not standard, it's the result of a substraction and it can change.
i already tried operator srl and function shift_right but they don't work because of the different width of x and y.
i can't use '&' operator because z doesn't have standard value.
any suggestions how can i do this?
x(52:0) = y(23:0) >> z
(>> is the logical right shift)
value of z is not standard, it's the result of a substraction and it can change.
i already tried operator srl and function shift_right but they don't work because of the different width of x and y.
i can't use '&' operator because z doesn't have standard value.
any suggestions how can i do this?