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

Default eth_ram_mosi <= c_mem_mosi_rst to avoid sim warnings. Adde tb_end to...

Default eth_ram_mosi <= c_mem_mosi_rst to avoid sim warnings. Adde tb_end to be able to use run -all.
parent 79a184a4
Branches
Tags
No related merge requests found
......@@ -33,7 +33,7 @@ USE dp_lib.dp_stream_pkg.ALL;
USE dp_lib.tb_dp_pkg.ALL;
USE tech_tse_lib.tech_tse_pkg.ALL;
USE tech_tse_lib.tb_tech_tse_pkg.ALL;
USE WORK.eth_layers_pkg.ALL;
USE common_lib.eth_layers_pkg.ALL;
USE WORK.eth_pkg.ALL;
ENTITY tb_eth_udp_offload IS
......@@ -286,6 +286,7 @@ BEGIN
reg_hdr_mosi <= c_mem_mosi_rst;
ram_hdr_mosi <= c_mem_mosi_rst;
eth_reg_mosi <= c_mem_mosi_rst;
eth_ram_mosi <= c_mem_mosi_rst;
dut_eth_init <= '1';
......@@ -349,12 +350,22 @@ BEGIN
proc_mem_mm_bus_rd_latency(c_mem_reg_rd_latency, mm_clk);
print_str("[" & time_to_str(now) & "] 0x" & slv_to_hex(ram_hdr_miso.rddata(c_word_w-1 DOWNTO 0)));
END LOOP;
proc_common_wait_some_cycles(st_clk, 10);
proc_common_wait_until_high(st_clk, out_gap);
proc_common_wait_some_cycles(st_clk, 1000);
tb_end <= '1';
WAIT;
END PROCESS;
-- Stop the simulation
p_tb_end : PROCESS
BEGIN
WAIT UNTIL tb_end='1';
WAIT FOR 10 us;
ASSERT FALSE REPORT "Simulation finished." SEVERITY FAILURE;
WAIT;
END PROCESS;
------------------------------------------------------------------------------
-- DATA VERIFICATION
------------------------------------------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment