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

Use p_dummy process to avoid reaching report failure when running tb for unb1...

Use p_dummy process to avoid reaching report failure when running tb for unb1 which has no 10gbase_r.
parent 6dbfe0ab
No related branches found
No related tags found
No related merge requests found
......@@ -91,19 +91,23 @@ BEGIN
link_fault <= '0';
WAIT FOR 10 us;
tb_end <= '1';
WAIT FOR 10 us; -- this line seems necessary to ensure that -label will stop the simulation
-- before the FAILURE when p_tb_end is the only process that is still active,
-- which is the case for g_technology that do not support the pll and dut.
-- Only using 1 us >> tech_pll_clk_644_period in p_tb_end, instead of 1 ns does
-- not help to avoid the FAILURE.
WAIT;
END PROCESS;
-- This extra p_dummy process seems necessary to ensure that -label will stop
-- the simulation before the FAILURE when p_tb_end is the only process that
-- is still active, which is the case for g_technology that do not support
-- the pll and dut. Only using 1 us >> tech_pll_clk_644_period in p_tb_end,
-- instead of 1 ns does not help to avoid the FAILURE.
p_dummy : PROCESS
BEGIN
WAIT FOR 1 ns;
END PROCESS;
p_tb_end : PROCESS
BEGIN
WAIT UNTIL tb_end='1';
WAIT FOR 1 us;
WAIT FOR 1 ns;
REPORT "Tb simulation finished." SEVERITY FAILURE;
WAIT;
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