Skip to content
Snippets Groups Projects
Commit 3e865edb authored by Reinier van der Walle's avatar Reinier van der Walle
Browse files

Made number of test packets configurable

parent 7c9e2c8b
No related branches found
No related tags found
2 merge requests!10Update branch to latest revision,!9Resolve L2SDP-23
......@@ -100,6 +100,8 @@ ARCHITECTURE tb OF tb_nw_ping_response IS
CONSTANT c_ping_packet_field_sel : STD_LOGIC_VECTOR(c_nof_ping_packet_fields-1 DOWNTO 0) := (OTHERS => '0');
CONSTANT c_udp_packet_field_sel : STD_LOGIC_VECTOR(c_nof_udp_packet_fields-1 DOWNTO 0) := (OTHERS => '0');
CONSTANT c_nof_ping_responses : NATURAL := 20;
SIGNAL tb_end : STD_LOGIC := '0';
SIGNAL clk : STD_LOGIC := '1';
SIGNAL rst : STD_LOGIC := '1';
......@@ -180,10 +182,9 @@ BEGIN
p_tb_end : PROCESS
BEGIN
FOR I IN 0 TO 2*c_nof_ping_responses LOOP
proc_common_wait_until_evt(clk, nw_ping_response_src_out.eop);
proc_common_wait_until_evt(clk, nw_ping_response_src_out.eop);
proc_common_wait_until_evt(clk, nw_ping_response_src_out.eop);
proc_common_wait_until_evt(clk, nw_ping_response_src_out.eop);
END LOOP;
tb_end <= '1';
END PROCESS;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment