Forum Discussion
Altera_Forum
Honored Contributor
14 years agostore LSB after shift right - vhdl
Hi, In my project I need to right shift an input vector by one. For example I have A=0101. Then right shift by one I get Q=0010. Now, I want to store the LSB of the input vector in this case is...
Altera_Forum
Honored Contributor
14 years agowith a register?
process(clk)
begin
if rising_edge(clk) then
store <= a(a'low);
end if;
end process;