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

Use proc_common_stop_simulation().

parent a73eabd0
No related branches found
No related tags found
No related merge requests found
......@@ -541,19 +541,7 @@ BEGIN
END PROCESS;
p_stop_simulation : PROCESS
BEGIN
-- Wait for p_mm_diag_data_buffer is done
proc_common_wait_until_high(ext_clk, verify_db_done);
-- Stop the simulation
i_tb_end <= '1';
IF g_tb_end=FALSE THEN
REPORT "Tb Simulation finished." SEVERITY NOTE;
ELSE
REPORT "Tb Simulation finished." SEVERITY FAILURE;
END IF;
WAIT;
END PROCESS;
-- Stop simulation using severity FAILURE
proc_common_stop_simulation(g_tb_end, ext_clk, verify_db_done, i_tb_end);
END tb;
......@@ -787,19 +787,7 @@ BEGIN
verify_db_done <= vector_and(verify_db_done_arr);
p_stop_simulation : PROCESS
BEGIN
-- Wait for p_mm_diag_data_buffer is done
proc_common_wait_until_high(ext_clk, verify_db_done);
-- Stop the simulation
i_tb_end <= '1';
IF g_tb_end=FALSE THEN
REPORT "Tb Simulation finished." SEVERITY NOTE;
ELSE
REPORT "Tb Simulation finished." SEVERITY FAILURE;
END IF;
WAIT;
END PROCESS;
-- Stop simulation using severity FAILURE
proc_common_stop_simulation(g_tb_end, ext_clk, verify_db_done, i_tb_end);
END tb;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment