L
lokesh kumar
Hi,
I need a help to understand how the shift register works.
Suppose A and B are the 5-bit numbers.
A= 10101
B=11001
1. B(i) = 1 is the MSB 1st bit of B input
2. B(i) = 1 is the MSB 2nd bit of B input
3. B(i) = 0 is the MSB 3rdst bit of B input
4. B(i) = 0 is the MSB 4thd bit of B input
5. B(i) = 1 is the MSB 5thbit of B input
Basically the 1st MSB of B is multiplied with the 5-bit number A first. Then the 2nd MSB of B is multiplied with A and so on.
So I want to know how can I insert the values of B in this case. Can anyone please help me out with the VHDL code?
Many thanks!
I need a help to understand how the shift register works.
Suppose A and B are the 5-bit numbers.
A= 10101
B=11001
1. B(i) = 1 is the MSB 1st bit of B input
2. B(i) = 1 is the MSB 2nd bit of B input
3. B(i) = 0 is the MSB 3rdst bit of B input
4. B(i) = 0 is the MSB 4thd bit of B input
5. B(i) = 1 is the MSB 5thbit of B input
Basically the 1st MSB of B is multiplied with the 5-bit number A first. Then the 2nd MSB of B is multiplied with A and so on.
So I want to know how can I insert the values of B in this case. Can anyone please help me out with the VHDL code?
Many thanks!