Compare commits
No commits in common. "4e8daa20bd49fde3ecc45e5126da29362abd8931" and "d70fb11d78232a90ad67a846bf61ad21efed065d" have entirely different histories.
4e8daa20bd
...
d70fb11d78
17
.gitignore
vendored
17
.gitignore
vendored
@ -1,6 +1,11 @@
|
|||||||
*/vish_stacktrace.vstf
|
U1_Datentypen/.libwork
|
||||||
*/.libwork
|
U1_Datentypen/modelsim.ini
|
||||||
*/modelsim.ini
|
U1_Datentypen/transcript
|
||||||
*/transcript
|
U1_Datentypen/vish_stacktrace.vstf
|
||||||
*/vsim.wlf
|
U1_Datentypen/vsim.wlf
|
||||||
*/work/
|
U1_Datentypen/work/
|
||||||
|
U2_Entity_Component/.libwork
|
||||||
|
U2_Entity_Component/modelsim.ini
|
||||||
|
U2_Entity_Component/transcript
|
||||||
|
U2_Entity_Component/vsim.wlf
|
||||||
|
U2_Entity_Component/work/
|
||||||
|
|||||||
@ -12,7 +12,6 @@ package test_utility is
|
|||||||
|
|
||||||
type real_array is array ( natural range <> ) of real;
|
type real_array is array ( natural range <> ) of real;
|
||||||
|
|
||||||
procedure assert_eq( a : in std_logic; b : in std_logic );
|
|
||||||
procedure assert_eq( a : in std_logic_vector; b : in std_logic_vector );
|
procedure assert_eq( a : in std_logic_vector; b : in std_logic_vector );
|
||||||
|
|
||||||
procedure assert_near( variable a : in real;
|
procedure assert_near( variable a : in real;
|
||||||
@ -28,17 +27,9 @@ end package test_utility;
|
|||||||
|
|
||||||
package body test_utility is
|
package body test_utility is
|
||||||
|
|
||||||
procedure assert_eq( a : in std_logic; b : in std_logic ) is
|
|
||||||
begin
|
|
||||||
assert( a = b )
|
|
||||||
report TEST_FAIL & "assert_eq" & LF &
|
|
||||||
" a: " & to_string( a ) & LF &
|
|
||||||
" b: " & to_string( b ) & LF
|
|
||||||
severity error;
|
|
||||||
end procedure assert_eq;
|
|
||||||
|
|
||||||
procedure assert_eq( a : in std_logic_vector; b : in std_logic_vector ) is
|
procedure assert_eq( a : in std_logic_vector; b : in std_logic_vector ) is
|
||||||
begin
|
begin
|
||||||
|
|
||||||
assert( a = b )
|
assert( a = b )
|
||||||
report TEST_FAIL & "assert_eq" & LF &
|
report TEST_FAIL & "assert_eq" & LF &
|
||||||
" a: " & to_string( a ) & LF &
|
" a: " & to_string( a ) & LF &
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user