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

Adjust sim_done to fix tb result.

parent 727018c4
No related branches found
No related tags found
No related merge requests found
Pipeline #72811 passed
...@@ -516,7 +516,14 @@ begin ...@@ -516,7 +516,14 @@ begin
-- Simulation end -- Simulation end
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
sim_done <= '1' when dp_sosi_arr(0).valid = '1' and dp_sosi_arr(1).valid = '1' and dp_sosi_arr(2).valid = '1' else '0'; -- Wait long enough, until jesd204b_rx_link_valid = '1' in the JESD204B IP.
-- Cannot use dp_sosi_valid, because the dp_sosi_valid already becomes '1' as
-- soon as the rxlink_clk and dp_clk are active, because then the
-- dp_sosi_data is already synchronous with the sysref and can be passed on
-- via the rxlink_clk - dp_clk FIFO. The content of the dp_sosi_data is
-- then not yet correct, but it will be as soon as the
-- jesd204b_rx_link_valid_arr(i) for that input i is '1'
sim_done <= '1' after 60 us; -- >~ 50 us obtained from Wave Window
p_tb_end : process p_tb_end : process
begin begin
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment