Commit 70e30da2 authored by Ille, Ondrej, Ing.'s avatar Ille, Ondrej, Ing.

test: Replace report with Vunit logger functions

parent da253ce5
Pipeline #5965 passed with stages
in 11 minutes and 59 seconds
......@@ -308,9 +308,9 @@ package body Arbitration_feature is
-- Print Frame info
------------------------------------------------------------------------
info("Frame 1:");
CAN_print_frame(frame_1, info_l);
CAN_print_frame(frame_1);
info("Frame 2:");
CAN_print_frame(frame_2, info_l);
CAN_print_frame(frame_2);
------------------------------------------------------------------------
-- Check whether expected winner is the unit which lost the arbitration
......@@ -343,9 +343,9 @@ package body Arbitration_feature is
-- Print Frame info
------------------------------------------------------------------------
info("Frame 1:");
CAN_print_frame(frame_1, info_l);
CAN_print_frame(frame_1);
info("Frame 2:");
CAN_print_frame(frame_2, info_l);
CAN_print_frame(frame_2);
------------------------------------------------------------------------
-- If error frame is transmitted and collision not have appeared
......
This diff is collapsed.
......@@ -409,10 +409,10 @@ begin
CAN_compare_frames(TX_frame, RX_frame, false, result);
info("TX Frame:");
CAN_print_frame(TX_frame, log_level);
CAN_print_frame(TX_frame);
info("RX Frame:");
CAN_print_frame(RX_frame, log_level);
CAN_print_frame(RX_frame);
check(result, "TX, RX frames mismatch!");
......
......@@ -372,7 +372,7 @@ architecture behavioral of sanity_test is
while (tx_mems(i)(tx_r_ptr)(8) = '1') loop
tmp_mem := tx_mems(i);
read_frame_from_test_mem(TX_frame, tmp_mem, tx_r_ptr);
CAN_print_frame(TX_frame, error_l);
CAN_print_frame(TX_frame);
end loop;
error("RX Memory Node " & integer'image(i) & ":");
......@@ -380,7 +380,7 @@ architecture behavioral of sanity_test is
while (rx_mems(i)(rx_r_ptr)(8) = '1') loop
tmp_mem := rx_mems(i);
read_frame_from_test_mem(RX_frame, tmp_mem, rx_r_ptr);
CAN_print_frame(RX_frame, error_l);
CAN_print_frame(RX_frame);
end loop;
-- LCOV_EXCL_STOP
end if;
......
......@@ -1219,10 +1219,10 @@ begin
-- Print the frames in the end
info("Generated CAN frame:");
CAN_print_frame(tx_frame, info_l);
CAN_print_frame(tx_frame);
info("Receied CAN frame:");
CAN_print_frame(rx_frame, info_l);
CAN_print_frame(rx_frame);
info("Expected bit sequence:");
write(msg1, sw_seq(seq_length - 1 downto 0));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment