blob: ea43dd53ee9bd040b9159e648a6783ccf904b783 (
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
|
entity test_tb is
end entity;
architecture beh of test_tb is
signal rx_data : bit_vector(159 downto 0);
procedure to_t( signal sa : out bit_vector(31 downto 0)) is
begin
sa <= (others => '1');
assert false report "lol";
end procedure;
begin
asd : for i in 0 to 4 generate
begin
process
subtype rng1 is natural range 32*(i+1)-1 downto 32*i;
begin
wait for 10 ns;
to_t(rx_data(rng1));
wait;
end process;
end generate;
end architecture;
|