diff --git a/libraries/base/dp/tb/vhdl/tb_tb_dp_deinterleave_one_to_n_to_one.vhd b/libraries/base/dp/tb/vhdl/tb_tb_dp_deinterleave_one_to_n_to_one.vhd index 71a214a9e0481e1c80c0c671d3d4f3beb793d71f..531e38fd751d1e1afe8d8362b6b96ea93a9397dd 100644 --- a/libraries/base/dp/tb/vhdl/tb_tb_dp_deinterleave_one_to_n_to_one.vhd +++ b/libraries/base/dp/tb/vhdl/tb_tb_dp_deinterleave_one_to_n_to_one.vhd @@ -39,6 +39,9 @@ ARCHITECTURE tb OF tb_tb_dp_deinterleave_one_to_n_to_one IS SIGNAL tb_end : STD_LOGIC := '0'; -- declare tb_end to avoid 'No objects found' error on 'when -label tb_end' + CONSTANT c_rep_act : NATURAL := 5; + CONSTANT c_rep_rnd : NATURAL := 100; + BEGIN -- -- general @@ -58,20 +61,26 @@ BEGIN -- | | g_pkt_len -- | | | g_pkt_gap -- | | | | - u_act_act_pipe_1_12_0 : ENTITY work.tb_dp_deinterleave_one_to_n_to_one GENERIC MAP(e_active, e_active, TRUE, FALSE, 1, 5, 1, 12, 0); - u_act_act_pipe_2_12_0 : ENTITY work.tb_dp_deinterleave_one_to_n_to_one GENERIC MAP(e_active, e_active, TRUE, FALSE, 1, 5, 2, 12, 0); - u_act_act_pipe_3_12_0 : ENTITY work.tb_dp_deinterleave_one_to_n_to_one GENERIC MAP(e_active, e_active, TRUE, FALSE, 1, 5, 3, 12, 0); - u_act_act_pipe_4_12_0 : ENTITY work.tb_dp_deinterleave_one_to_n_to_one GENERIC MAP(e_active, e_active, TRUE, FALSE, 1, 5, 4, 12, 0); - u_act_act_pipe_4_12_7 : ENTITY work.tb_dp_deinterleave_one_to_n_to_one GENERIC MAP(e_active, e_active, TRUE, FALSE, 1, 5, 4, 12, 7); - u_act_act_pipe_4_13_0 : ENTITY work.tb_dp_deinterleave_one_to_n_to_one GENERIC MAP(e_active, e_active, TRUE, FALSE, 1, 5, 4, 13, 0); - u_act_act_pipe_4_13_7 : ENTITY work.tb_dp_deinterleave_one_to_n_to_one GENERIC MAP(e_active, e_active, TRUE, FALSE, 1, 5, 4, 13, 7); + u_act_act_pipe_1_12_0 : ENTITY work.tb_dp_deinterleave_one_to_n_to_one GENERIC MAP(e_active, e_active, TRUE, FALSE, 1, c_rep_act, 1, 12, 0); + u_act_act_pipe_2_12_0 : ENTITY work.tb_dp_deinterleave_one_to_n_to_one GENERIC MAP(e_active, e_active, TRUE, FALSE, 1, c_rep_act, 2, 12, 0); + u_act_act_pipe_3_12_0 : ENTITY work.tb_dp_deinterleave_one_to_n_to_one GENERIC MAP(e_active, e_active, TRUE, FALSE, 1, c_rep_act, 3, 12, 0); + u_act_act_pipe_4_12_0 : ENTITY work.tb_dp_deinterleave_one_to_n_to_one GENERIC MAP(e_active, e_active, TRUE, FALSE, 1, c_rep_act, 4, 12, 0); + u_act_act_pipe_4_12_7 : ENTITY work.tb_dp_deinterleave_one_to_n_to_one GENERIC MAP(e_active, e_active, TRUE, FALSE, 1, c_rep_act, 4, 12, 7); + u_act_act_pipe_4_13_0 : ENTITY work.tb_dp_deinterleave_one_to_n_to_one GENERIC MAP(e_active, e_active, TRUE, FALSE, 1, c_rep_act, 4, 13, 0); + u_act_act_pipe_4_13_7 : ENTITY work.tb_dp_deinterleave_one_to_n_to_one GENERIC MAP(e_active, e_active, TRUE, FALSE, 1, c_rep_act, 4, 13, 7); - u_rnd_rnd_pipe_1_12_0 : ENTITY work.tb_dp_deinterleave_one_to_n_to_one GENERIC MAP(e_random, e_random, TRUE, FALSE, 1, 5, 1, 12, 0); - u_rnd_rnd_pipe_2_12_0 : ENTITY work.tb_dp_deinterleave_one_to_n_to_one GENERIC MAP(e_random, e_random, TRUE, FALSE, 1, 5, 2, 12, 0); - u_rnd_rnd_pipe_3_12_0 : ENTITY work.tb_dp_deinterleave_one_to_n_to_one GENERIC MAP(e_random, e_random, TRUE, FALSE, 1, 5, 3, 12, 0); - u_rnd_rnd_pipe_4_12_0 : ENTITY work.tb_dp_deinterleave_one_to_n_to_one GENERIC MAP(e_random, e_random, TRUE, FALSE, 1, 5, 4, 12, 0); - u_rnd_rnd_pipe_4_12_7 : ENTITY work.tb_dp_deinterleave_one_to_n_to_one GENERIC MAP(e_random, e_random, TRUE, FALSE, 1, 5, 4, 12, 7); - u_rnd_rnd_pipe_4_13_0 : ENTITY work.tb_dp_deinterleave_one_to_n_to_one GENERIC MAP(e_random, e_random, TRUE, FALSE, 1, 5, 4, 13, 0); - u_rnd_rnd_pipe_4_13_7 : ENTITY work.tb_dp_deinterleave_one_to_n_to_one GENERIC MAP(e_random, e_random, TRUE, FALSE, 1, 5, 4, 13, 7); + u_rnd_rnd_pipe_1_12_0 : ENTITY work.tb_dp_deinterleave_one_to_n_to_one GENERIC MAP(e_random, e_random, TRUE, FALSE, 1, c_rep_rnd, 1, 12, 0); + u_rnd_rnd_pipe_2_12_0 : ENTITY work.tb_dp_deinterleave_one_to_n_to_one GENERIC MAP(e_random, e_random, TRUE, FALSE, 1, c_rep_rnd, 2, 12, 0); + u_rnd_rnd_pipe_3_12_0 : ENTITY work.tb_dp_deinterleave_one_to_n_to_one GENERIC MAP(e_random, e_random, TRUE, FALSE, 1, c_rep_rnd, 3, 12, 0); + u_rnd_rnd_pipe_4_12_0 : ENTITY work.tb_dp_deinterleave_one_to_n_to_one GENERIC MAP(e_random, e_random, TRUE, FALSE, 1, c_rep_rnd, 4, 12, 0); + u_rnd_rnd_pipe_4_12_7 : ENTITY work.tb_dp_deinterleave_one_to_n_to_one GENERIC MAP(e_random, e_random, TRUE, FALSE, 1, c_rep_rnd, 4, 12, 7); + u_rnd_rnd_pipe_4_13_0 : ENTITY work.tb_dp_deinterleave_one_to_n_to_one GENERIC MAP(e_random, e_random, TRUE, FALSE, 1, c_rep_rnd, 4, 13, 0); + u_rnd_rnd_pipe_4_13_7 : ENTITY work.tb_dp_deinterleave_one_to_n_to_one GENERIC MAP(e_random, e_random, TRUE, FALSE, 1, c_rep_rnd, 4, 13, 7); + + u_pls_pls_comb_3_12_0 : ENTITY work.tb_dp_deinterleave_one_to_n_to_one GENERIC MAP(e_pulse, e_pulse, TRUE, FALSE, 0, c_rep_rnd, 3, 12, 0); + u_pls_pls_pipe_3_12_0 : ENTITY work.tb_dp_deinterleave_one_to_n_to_one GENERIC MAP(e_pulse, e_pulse, TRUE, FALSE, 1, c_rep_rnd, 3, 12, 0); + u_rnd_rnd_comb_3_12_0 : ENTITY work.tb_dp_deinterleave_one_to_n_to_one GENERIC MAP(e_random, e_random, TRUE, FALSE, 0, c_rep_rnd, 3, 12, 0); + u_rnd_rnd_comb_3_12_0_nofifo : ENTITY work.tb_dp_deinterleave_one_to_n_to_one GENERIC MAP(e_random, e_random, FALSE, FALSE, 0, c_rep_rnd, 3, 12, 0); + u_rnd_rnd_pipe_3_12_0_nofifo : ENTITY work.tb_dp_deinterleave_one_to_n_to_one GENERIC MAP(e_random, e_random, FALSE, FALSE, 1, c_rep_rnd, 3, 12, 0); END tb;