Skip to content

Commit d5617f3

Browse files
committed
some fixes after PR review
1 parent db6d0c7 commit d5617f3

20 files changed

+82
-32
lines changed

tb/arith/RunAllTests.pro

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# =============================================================================
22
# Authors: Jonas Schreiner
3+
# Gustavo Martin
34
#
45
# License:
56
# =============================================================================

tb/arith/addw/RunAllTests.pro

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# =============================================================================
22
# Authors:
3+
# Gustavo Martin
34
#
45
# License:
56
# =============================================================================

tb/arith/addw/arith_addw_Simple.vhdl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
-- vim: tabstop=2:shiftwidth=2:noexpandtab
33
-- kate: tab-width 2; replace-tabs off; indent-width 2;
44
-- =============================================================================
5-
-- Authors:
5+
-- Authors: Thomas B. Preusser
6+
-- Gustavo Martin
67
--
78
-- Entity: arith_addw_Simple
89
--
@@ -142,4 +143,4 @@ configuration arith_addw_Simple of arith_addw_TestHarness is
142143
use entity work.arith_addw_TestController(Simple);
143144
end for;
144145
end for;
145-
end configuration;
146+
end configuration;

tb/arith/addw/arith_addw_TestController.vhdl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
-- vim: tabstop=2:shiftwidth=2:noexpandtab
33
-- kate: tab-width 2; replace-tabs off; indent-width 2;
44
-- =============================================================================
5-
-- Authors:
5+
-- Authors: Thomas B. Preusser
6+
-- Gustavo Martin
67
--
78
-- Entity: arith_addw_TestController
89
--

tb/arith/addw/arith_addw_TestController_pkg.vhdl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
-- vim: tabstop=2:shiftwidth=2:noexpandtab
33
-- kate: tab-width 2; replace-tabs off; indent-width 2;
44
-- =============================================================================
5-
-- Authors:
5+
-- Authors: Thomas B. Preusser
6+
-- Gustavo Martin
67
--
78
-- Entity: arith_addw_TestController_pkg
89
--
@@ -48,4 +49,4 @@ package arith_addw_TestController_pkg is
4849
type word_vector is array(tArch_test, tSkip_test, boolean) of word;
4950
type carry_vector is array(tArch_test, tSkip_test, boolean) of std_logic;
5051

51-
end package arith_addw_TestController_pkg;
52+
end package arith_addw_TestController_pkg;

tb/arith/addw/arith_addw_TestHarness.vhdl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
-- vim: tabstop=2:shiftwidth=2:noexpandtab
33
-- kate: tab-width 2; replace-tabs off; indent-width 2;
44
-- =============================================================================
5-
-- Authors:
5+
-- Authors: Thomas B. Preusser
6+
-- Gustavo Martin
67
--
78
-- Entity: arith_addw_TestHarness
89
--
@@ -131,4 +132,4 @@ begin
131132
cout => cout
132133
);
133134

134-
end architecture;
135+
end architecture;

tb/arith/counter_bcd/RunAllTests.pro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# =============================================================================
22
# Authors:
3-
#
3+
# Gustavo Martin
44
# License:
55
# =============================================================================
66
# Copyright 2025-2025 The PoC-Library Authors

tb/arith/counter_bcd/arith_counter_bcd_Simple.vhdl

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
-- vim: tabstop=2:shiftwidth=2:noexpandtab
33
-- kate: tab-width 2; replace-tabs off; indent-width 2;
44
-- =============================================================================
5-
-- Authors:
5+
-- Authors: Martin Zabel
6+
-- Thomas B. Preusser
7+
-- Gustavo Martin
68
--
79
-- Entity: arith_counter_bcd_Simple
810
--
@@ -112,19 +114,15 @@ begin
112114
end loop;
113115
wait until falling_edge(Clock);
114116
inc <= '1';
115-
WaitForClock(Clock);
116-
WaitForClock(Clock);
117+
WaitForClock(Clock, 2);
117118
AffirmIf(ProcID, Value = (DIGITS - 1 downto 0 => x"0"), "Should be wrapped to 0000." & " Value=" & to_string(Value));
118119

119120
inc <= '1';
120-
for j in 1 to 5 loop
121-
WaitForClock(Clock);
122-
end loop;
121+
WaitForClock(Clock, 5);
123122

124123
Reset_aux <= '1';
125124
inc <= '0';
126-
WaitForClock(Clock);
127-
WaitForClock(Clock);
125+
WaitForClock(Clock, 2);
128126
AffirmIf(ProcID, Value = (DIGITS - 1 downto 0 => x"0"), "Should be resetted again.");
129127

130128
-- Finalize
@@ -139,4 +137,4 @@ configuration arith_counter_bcd_Simple of arith_counter_bcd_TestHarness is
139137
use entity work.arith_counter_bcd_TestController(Simple);
140138
end for;
141139
end for;
142-
end configuration;
140+
end configuration;

tb/arith/counter_bcd/arith_counter_bcd_TestController.vhdl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
-- vim: tabstop=2:shiftwidth=2:noexpandtab
33
-- kate: tab-width 2; replace-tabs off; indent-width 2;
44
-- =============================================================================
5-
-- Authors:
5+
-- Authors: Martin Zabel
6+
-- Thomas B. Preusser
7+
-- Gustavo Martin
68
--
79
-- Entity: arith_counter_bcd_TestController
810
--

tb/arith/counter_bcd/arith_counter_bcd_TestHarness.vhdl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
-- vim: tabstop=2:shiftwidth=2:noexpandtab
33
-- kate: tab-width 2; replace-tabs off; indent-width 2;
44
-- =============================================================================
5-
-- Authors:
5+
-- Authors: Martin Zabel
6+
-- Thomas B. Preusser
7+
-- Gustavo Martin
68
--
79
-- Entity: arith_counter_bcd_TestHarness
810
--
@@ -103,4 +105,4 @@ begin
103105
inc => inc,
104106
Value => Value
105107
);
106-
end architecture;
108+
end architecture;

0 commit comments

Comments
 (0)