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

Added check on sdp_integration_interval field in header.

parent 32229196
No related branches found
No related tags found
2 merge requests!148L2SDP-495,!146Prepared dp_bsn_align_v2.vhd (still empty) and mmp_, tb_ and tb_mmp_ files,...
......@@ -48,10 +48,10 @@ USE work.sdp_pkg.ALL;
ENTITY tb_sdp_statistics_offload IS
GENERIC (
g_statistics_type : STRING := "SST";
g_statistics_type : STRING := "XST";
g_offload_time : NATURAL := 500;
g_beamset_id : NATURAL := 0;
g_P_sq : NATURAL := c_sdp_P_sq
g_P_sq : NATURAL := 1 --c_sdp_P_sq
);
END tb_sdp_statistics_offload;
......@@ -326,6 +326,9 @@ BEGIN
REPORT "wrong sdp_block_period" SEVERITY ERROR;
-- Check variable header info.
ASSERT rx_hdr_fields_raw(field_hi(c_sdp_stat_hdr_field_arr, "sdp_integration_interval") DOWNTO field_lo(c_sdp_stat_hdr_field_arr, "sdp_integration_interval")) = TO_UVEC(c_nof_block_per_sync, 24)
REPORT "wrong sdp_integration_interval" SEVERITY ERROR;
IF g_statistics_type = "SST" THEN
ASSERT rx_hdr_fields_raw(field_hi(c_sdp_stat_hdr_field_arr, "sdp_data_id") DOWNTO field_lo(c_sdp_stat_hdr_field_arr, "sdp_data_id")) = TO_UVEC(rx_block_cnt + c_sdp_S_pn * gn_index, 32)
REPORT "wront SST sdp_data_id" SEVERITY ERROR;
......
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