I want to have a shifter to shift the last two values of my input into the left (MSB) as the output.
For example, input: f=( 2,1,0,9,3) then the output will be y=(9,3,2,1,0).
It is possible I write this operation in VHDL?
Hope for your advise. Thank You
Yes, Im sure its possible. But your question isnt very clear. You ask to shift two values, but then you talk about shifting the MSB?
then the function of the output you show is a right shift, not a left shift.
So is it a bitwise shift, or a value you shift? do the outputs make up different parts of a larger number?
Sorry on that question, I'm wrong. Actually I want to shift the last two values of the input into the front (from right to left).
I try to write VHDL code using shifter but I dont know how to shift the values. Can you helps me.
Thanks for reply