7 use IEEE.STD_LOGIC_1164.
all;
11 generic (delay : integer := 1;
17 data_in : in std_logic_vector(size-1 downto 0);
18 data_out : out std_logic_vector(size-1 downto 0)
25 type t_DelayedSignal is array (delay downto 0) of std_logic_vector(size-1 downto 0);
26 signal DelayedSignal : t_DelayedSignal := (others => (others => '0'));
30 dalay_proc :
process (clk)
32 if rising_edge(clk) then
33 DelayedSignal(DelayedSignal'high) <= data_in;
34 DelayedSignal(DelayedSignal'high-1 downto 0) <= DelayedSignal(DelayedSignal'high downto 1);
38 data_out <= DelayedSignal(0);
Shift register for data delay.
Shift register for data delay.