Commit c8d6b2e4 authored by Ille, Ondrej, Ing.'s avatar Ille, Ondrej, Ing.

test: Add info prints to RX Buffer unit test.

parent ded6c3b6
......@@ -466,6 +466,9 @@ architecture rx_buf_unit_test of CAN_test is
-- Check that word is exactly matching the word in in_mem at the
-- same position!
-------------------------------------------------------------------
info("Buffer output: " & to_hstring(buff_out));
info("Model output: " & to_hstring(in_mem(out_pointer)));
info("Word nr. :" & integer'image(i));
check(buff_out = in_mem(out_pointer),
"Buffer FUCKED UP, index: " & integer'image(out_pointer));
......
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