entity testcase2_testbench is end entity testcase2_testbench; architecture bench of testcase2_testbench is signal clk: bit; begin dut: entity work.testcase2(empty) port map(clk => clk); stimulus: process is begin -- Valid low and high pulses clk <= '0'; wait for 10 ns; clk <= '1'; wait for 10 ns; -- Confirm that we're timing events, not transactions clk <= '1'; wait for 5 ns; -- Now send a short pulse to make the assertion fire clk <= '0'; wait for 5 ns; -- Assertion should fire here, at 30ns clk <= '1'; wait; end process stimulus; end architecture bench; hidden' name='id' value='cec3850d146e992d3f8452cc154d9728c4fbc647'/> xenJames
aboutsummaryrefslogtreecommitdiffstats
path: root/config/StdGNU.mk
blob: d3d69bf944b6f501c8c8c81a21d4b6e4ecb176b8 (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54