Skip to content

Commit 55b05c9

Browse files
committed
Added support for repeating seeds from previous test run.
1 parent acf7e7f commit 55b05c9

28 files changed

+1257
-182
lines changed

examples/vhdl/vhdl_configuration/test_reset.vhd

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -27,31 +27,3 @@ begin
2727

2828
test_runner_watchdog(runner, 10 * clk_period);
2929
end;
30-
31-
configuration test_reset_behavioral of tb_selecting_test_runner_with_vhdl_configuration is
32-
for tb
33-
for test_runner_inst : test_runner
34-
use entity work.test_runner(test_reset_a);
35-
end for;
36-
37-
for test_fixture
38-
for dut : dff
39-
use entity work.dff(behavioral);
40-
end for;
41-
end for;
42-
end for;
43-
end;
44-
45-
configuration test_reset_rtl of tb_selecting_test_runner_with_vhdl_configuration is
46-
for tb
47-
for test_runner_inst : test_runner
48-
use entity work.test_runner(test_reset_a);
49-
end for;
50-
51-
for test_fixture
52-
for dut : dff
53-
use entity work.dff(rtl);
54-
end for;
55-
end for;
56-
end for;
57-
end;
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
-- This Source Code Form is subject to the terms of the Mozilla Public
2+
-- License, v. 2.0. If a copy of the MPL was not distributed with this file,
3+
-- You can obtain one at http://mozilla.org/MPL/2.0/.
4+
--
5+
-- Copyright (c) 2014-2025, Lars Asplund [email protected]
6+
7+
configuration test_reset_behavioral of tb_selecting_test_runner_with_vhdl_configuration is
8+
for tb
9+
for test_runner_inst : test_runner
10+
use entity work.test_runner(test_reset_a);
11+
end for;
12+
13+
for test_fixture
14+
for dut : dff
15+
use entity work.dff(behavioral);
16+
end for;
17+
end for;
18+
end for;
19+
end;
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
-- This Source Code Form is subject to the terms of the Mozilla Public
2+
-- License, v. 2.0. If a copy of the MPL was not distributed with this file,
3+
-- You can obtain one at http://mozilla.org/MPL/2.0/.
4+
--
5+
-- Copyright (c) 2014-2025, Lars Asplund [email protected]
6+
7+
configuration test_reset_rtl of tb_selecting_test_runner_with_vhdl_configuration is
8+
for tb
9+
for test_runner_inst : test_runner
10+
use entity work.test_runner(test_reset_a);
11+
end for;
12+
13+
for test_fixture
14+
for dut : dff
15+
use entity work.dff(rtl);
16+
end for;
17+
end for;
18+
end for;
19+
end;

examples/vhdl/vhdl_configuration/test_state_change.vhd

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -33,31 +33,3 @@ begin
3333

3434
test_runner_watchdog(runner, 10 * clk_period);
3535
end;
36-
37-
configuration test_state_change_behavioral of tb_selecting_test_runner_with_vhdl_configuration is
38-
for tb
39-
for test_runner_inst : test_runner
40-
use entity work.test_runner(test_state_change_a);
41-
end for;
42-
43-
for test_fixture
44-
for dut : dff
45-
use entity work.dff(behavioral);
46-
end for;
47-
end for;
48-
end for;
49-
end;
50-
51-
configuration test_state_change_rtl of tb_selecting_test_runner_with_vhdl_configuration is
52-
for tb
53-
for test_runner_inst : test_runner
54-
use entity work.test_runner(test_state_change_a);
55-
end for;
56-
57-
for test_fixture
58-
for dut : dff
59-
use entity work.dff(rtl);
60-
end for;
61-
end for;
62-
end for;
63-
end;
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
-- This Source Code Form is subject to the terms of the Mozilla Public
2+
-- License, v. 2.0. If a copy of the MPL was not distributed with this file,
3+
-- You can obtain one at http://mozilla.org/MPL/2.0/.
4+
--
5+
-- Copyright (c) 2014-2025, Lars Asplund [email protected]
6+
7+
configuration test_state_change_behavioral of tb_selecting_test_runner_with_vhdl_configuration is
8+
for tb
9+
for test_runner_inst : test_runner
10+
use entity work.test_runner(test_state_change_a);
11+
end for;
12+
13+
for test_fixture
14+
for dut : dff
15+
use entity work.dff(behavioral);
16+
end for;
17+
end for;
18+
end for;
19+
end;
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
-- This Source Code Form is subject to the terms of the Mozilla Public
2+
-- License, v. 2.0. If a copy of the MPL was not distributed with this file,
3+
-- You can obtain one at http://mozilla.org/MPL/2.0/.
4+
--
5+
-- Copyright (c) 2014-2025, Lars Asplund [email protected]
6+
7+
configuration test_state_change_rtl of tb_selecting_test_runner_with_vhdl_configuration is
8+
for tb
9+
for test_runner_inst : test_runner
10+
use entity work.test_runner(test_state_change_a);
11+
end for;
12+
13+
for test_fixture
14+
for dut : dff
15+
use entity work.dff(rtl);
16+
end for;
17+
end for;
18+
end for;
19+
end;

tests/acceptance/artificial/vhdl/cfg1.vhd

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,10 @@
44
--
55
-- Copyright (c) 2014-2025, Lars Asplund [email protected]
66

7-
architecture arch1 of ent is
8-
begin
9-
arch <= "arch1";
10-
end;
11-
127
configuration cfg1 of tb_with_vhdl_configuration is
138
for tb
149
for ent_inst : ent
1510
use entity work.ent(arch1);
1611
end for;
1712
end for;
18-
end;
13+
end;

tests/acceptance/artificial/vhdl/cfg2.vhd

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,10 @@
44
--
55
-- Copyright (c) 2014-2025, Lars Asplund [email protected]
66

7-
architecture arch2 of ent is
8-
begin
9-
arch <= "arch2";
10-
end;
11-
127
configuration cfg2 of tb_with_vhdl_configuration is
138
for tb
149
for ent_inst : ent
1510
use entity work.ent(arch2);
1611
end for;
1712
end for;
18-
end;
13+
end;

tests/acceptance/artificial/vhdl/cfg3.vhd

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,10 @@
44
--
55
-- Copyright (c) 2014-2025, Lars Asplund [email protected]
66

7-
architecture arch3 of ent is
8-
begin
9-
arch <= "arch3";
10-
end;
11-
127
configuration cfg3 of tb_with_vhdl_configuration is
138
for tb
149
for ent_inst : ent
1510
use entity work.ent(arch3);
1611
end for;
1712
end for;
18-
end;
13+
end;
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
-- This Source Code Form is subject to the terms of the Mozilla Public
2+
-- License, v. 2.0. If a copy of the MPL was not distributed with this file,
3+
-- You can obtain one at http://mozilla.org/MPL/2.0/.
4+
--
5+
-- Copyright (c) 2014-2025, Lars Asplund [email protected]
6+
7+
architecture arch1 of ent is
8+
begin
9+
arch <= "arch1";
10+
end;

0 commit comments

Comments
 (0)