How about:
out <= in;
I think you wanted to ask a different question.
SH7
ENTITY shift_register IS
PORT (clock IN;
ser_in IN;
ser_out OUT);
END shift register;
ARCHITECTURE rtl OF shift_register IS
SIGNAL shiftreg STD_LOGIC_VECTOR(15 DOWNTO 0);
BEGIN -- Architecture
ser_out <= shiftreg(0); -- Shift bit out.
shifter : PROCESS (clock)
BEGIN
IF rising_edge(clock) THEN
IF reset THEN
-- sync reset stuff here, i.e. shiftreg <= (OTHERS => '0');
ELSE
shift_reg <= ser_in & shiftreg(15 DOWNTO 1); -- Shift into top bit.
END IF;
END IF;
END PROCESS;
END rtl;
"Mohamed Daffe" <mda...@triad.rr.com> wrote in message
news:dTGt9.17224$ku2.7...@twister.southeast.rr.com...