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

Fix expected c_rx_exp_latency_st.

parent ad2eb91f
No related branches found
No related tags found
No related merge requests found
Pipeline #40183 passed
......@@ -118,9 +118,9 @@ ARCHITECTURE tb OF tb_eth_tester IS
-- Expected Tx --> Rx latency values obtained from a tb run
CONSTANT c_tx_exp_latency : NATURAL := 0;
CONSTANT c_rx_exp_latency_en : BOOLEAN := c_bg_block_len_max >= 50;
CONSTANT c_rx_exp_latency_st : NATURAL := 27;
CONSTANT c_rx_exp_latency_sim_tse : NATURAL := 165;
CONSTANT c_rx_exp_latency_tech_tse : NATURAL := 375;
CONSTANT c_rx_exp_latency_st : NATURAL := 28;
CONSTANT c_rx_exp_latency_sim_tse : NATURAL := 167;
CONSTANT c_rx_exp_latency_tech_tse : NATURAL := 372;
-- CRC is added by Tx TSE IP and removed by dp_offload_rx when g_remove_crc =
-- g_loopback_eth = TRUE. Therefore internally only application payload
......@@ -522,7 +522,7 @@ BEGIN
END IF;
END IF;
ELSE
ASSERT almost_equal(rx_mon_latency_arr(I), c_rx_exp_latency_st, 0) REPORT
ASSERT almost_equal(rx_mon_latency_arr(I), c_rx_exp_latency_st, 10) REPORT
c_tb_str & "Wrong rx latency using st interface (" & NATURAL'IMAGE(I) & ")" SEVERITY ERROR;
END IF;
END IF;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment