Skip to content
Snippets Groups Projects
Commit 912d0679 authored by Eric Kooistra's avatar Eric Kooistra
Browse files

Add more assert logging.

parent 39d0441a
No related branches found
No related tags found
No related merge requests found
...@@ -263,9 +263,11 @@ BEGIN ...@@ -263,9 +263,11 @@ BEGIN
mon_latency_input_arr(I) <= TO_SINT(reg_input_monitor_cipo.rddata(31 DOWNTO 0)); mon_latency_input_arr(I) <= TO_SINT(reg_input_monitor_cipo.rddata(31 DOWNTO 0));
proc_common_wait_some_cycles(mm_clk, 1); proc_common_wait_some_cycles(mm_clk, 1);
IF g_lost_input = TRUE AND I = c_nof_streams-1 THEN IF g_lost_input = TRUE AND I = c_nof_streams-1 THEN
ASSERT mon_latency_input_arr(I) = -1 REPORT "Wrong input BSN monitor latency timeout for input " & int_to_str(I) SEVERITY ERROR; ASSERT mon_latency_input_arr(I) = -1 REPORT "Wrong input BSN monitor latency timeout for input " & int_to_str(I) &
" (" & int_to_str(mon_latency_input_arr(I)) & " /= -1)" SEVERITY ERROR;
ELSE ELSE
ASSERT mon_latency_input_arr(I) = func_input_delay(I) REPORT "Wrong input BSN monitor latency for input " & int_to_str(I) SEVERITY ERROR; ASSERT mon_latency_input_arr(I) = func_input_delay(I) REPORT "Wrong input BSN monitor latency for input " & int_to_str(I) &
" (" & int_to_str(mon_latency_input_arr(I)) & " /= " & int_to_str(func_input_delay(I)) & ")" SEVERITY ERROR;
END IF; END IF;
END LOOP; END LOOP;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment