File tree Expand file tree Collapse file tree
vunit/vhdl/verification_components/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,6 +15,9 @@ use work.com_types_pkg.all;
1515use work.queue_pkg.all ;
1616use work.sync_pkg.all ;
1717use work.logger_pkg.all ;
18+ use work.runner_pkg.all ;
19+ use work.run_pkg.all ;
20+ use work.run_types_pkg.all ;
1821use work.log_levels_pkg.all ;
1922use work.apb_master_pkg.all ;
2023
@@ -89,14 +92,17 @@ begin
8992 variable msg_type : msg_type_t;
9093 variable addr_this_transaction : std_logic_vector (paddr_o'range ) := (others => '0' );
9194 variable data_this_transaction : std_logic_vector (prdata_i'range ) := (others => '0' );
95+ constant key : key_t := get_entry_key(test_runner_cleanup);
9296 begin
9397 loop
9498 drive_bus_invalid;
9599 psel_o <= '0' ;
96100
97101 if is_empty(message_queue) then
102+ unlock(runner, key);
98103 wait until rising_edge (clk) and not is_empty(message_queue);
99104 end if ;
105+ lock(runner, key);
100106 idle_bus <= false ;
101107 wait for 0 ns ;
102108
You can’t perform that action at this time.
0 commit comments