Hi,\n\nI need a help to understand how the shift register works.\n\nSuppose A and B are the 5-bit numbers.\n\nA= 10101\nB=11001\n1. B(i) = 1 is the MSB 1st bit of B input\n2. B(i) = 1 is the MSB 2nd bit of B input\n3. B(i) = 0 is the MSB 3rdst bit of B input\n4. B(i) = 0 is the MSB 4thd bit of B input\n5. B(i) = 1 is the MSB 5thbit of B input\n\nBasically 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.\n\nSo 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?\n\nMany thanks!