blob: 71d9d4c119eb5ae541ebf94bfa8a4f83116bde1c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
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
begin
wait for 10 ns;
to_t(rx_data(32*(i+1)-1 downto 32*i));
wait;
end process;
end generate;
end architecture;
|