ghattas.akkad
Member level 1
- Joined
- Apr 30, 2013
- Messages
- 39
- Helped
- 1
- Reputation
- 2
- Reaction score
- 1
- Trophy points
- 1,288
- Activity points
- 1,555
Hello
I am having trouble shifting a Buffer std_logic_vector as it is not shifting and updating the results
the expression is:
I am using a buffer on denominator and numerator for continuous shifting and storing I will have to check Numerator MSB and Denominator MSB and stop until they are '1'
But in simulation the denominator is not shifting even thought the sld bit is set
I am having trouble shifting a Buffer std_logic_vector as it is not shifting and updating the results
the expression is:
Code:
denominator: buffer std_logic_vector(M downto 0);
if(clk'event and clk='1') then
if(sld='1') then
op_denom<=denominator(M-1 downto 0)&'0';
end if;
end if;
I am using a buffer on denominator and numerator for continuous shifting and storing I will have to check Numerator MSB and Denominator MSB and stop until they are '1'
Code:
MSBone <= denominator(M) and numerator(M);
But in simulation the denominator is not shifting even thought the sld bit is set