blob: 834551f585de8ae62acd894cf44086991f4c27b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
library ieee;
use ieee.std_logic_1164.all;
entity delay_vector is
generic (
DELAY : integer := 32
);
port (
clk : in std_logic;
clken : in std_logic := '1';
d : in std_logic_vector;
q : out std_logic_vector);
end delay_vector;
architecture archi of delay_vector is
begin
gen_bits : for i in d'low to d'high generate
db : entity work.delay_bit
generic map
(
DELAY => DELAY
)
port map
(
clk => clk,
clken => clken,
d => d(i),
q => q(i)
);
end generate;
end;
|