Skip to content
Snippets Groups Projects
Commit c3cca3e9 authored by Zanting's avatar Zanting
Browse files

Exposed g_use_steps and g_nof_steps to the outside. Needed for testing unb1_reorder.

parent d20a2ab0
No related branches found
No related tags found
No related merge requests found
...@@ -78,6 +78,8 @@ ENTITY mms_diag_data_buffer IS ...@@ -78,6 +78,8 @@ ENTITY mms_diag_data_buffer IS
g_buf_nof_data : NATURAL := 1024; -- nof words per data buffer g_buf_nof_data : NATURAL := 1024; -- nof words per data buffer
g_buf_use_sync : BOOLEAN := FALSE; -- when TRUE start filling the buffer at the in_sync, else after the last word was read g_buf_use_sync : BOOLEAN := FALSE; -- when TRUE start filling the buffer at the in_sync, else after the last word was read
-- Rx_seq -- Rx_seq
g_use_steps : BOOLEAN := FALSE;
g_nof_steps : NATURAL := c_diag_seq_rx_reg_nof_steps;
g_seq_dat_w : NATURAL := 32 -- >= 1, test sequence data width. Choose g_seq_dat_w <= g_data_w g_seq_dat_w : NATURAL := 32 -- >= 1, test sequence data width. Choose g_seq_dat_w <= g_data_w
); );
PORT ( PORT (
...@@ -195,6 +197,8 @@ BEGIN ...@@ -195,6 +197,8 @@ BEGIN
u_mms_diag_rx_seq : ENTITY work.mms_diag_rx_seq u_mms_diag_rx_seq : ENTITY work.mms_diag_rx_seq
GENERIC MAP ( GENERIC MAP (
g_nof_streams => g_nof_streams, g_nof_streams => g_nof_streams,
g_use_steps => g_use_steps,
g_nof_steps => g_nof_steps,
g_seq_dat_w => g_seq_dat_w, -- >= 1, test sequence data width g_seq_dat_w => g_seq_dat_w, -- >= 1, test sequence data width
g_data_w => g_data_w -- >= g_seq_dat_w, user data width g_data_w => g_data_w -- >= g_seq_dat_w, user data width
) )
......
...@@ -351,7 +351,7 @@ BEGIN ...@@ -351,7 +351,7 @@ BEGIN
p_tx_seq_src_in_arr : PROCESS(tx_seq_src_out_arr) p_tx_seq_src_in_arr : PROCESS(tx_seq_src_out_arr)
BEGIN BEGIN
FOR I IN 0 TO g_nof_streams-1 LOOP FOR I IN 0 TO g_nof_streams-1 LOOP
tx_seq_src_in_arr(I).ready <= tx_seq_src_out_arr(I).valid; tx_seq_src_in_arr(I).ready <= usr_snk_in_arr(I).valid;
END LOOP; END LOOP;
END PROCESS; END PROCESS;
......
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