process( clk)
begin
if rising_edge( Clk) then
if reset='1' then
Shreg <= (others=>'0');
else
Shreg <= Shreg( 14 downto 0) & Databit;
end if;
end if;
end process;
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.