we have a large scale test bench flow with multi layer seqs. Unfortunately i am not able to change the flow, so “to have a better methodology to do it” is out of question. I think i might be able to achieve it by adding some code in seq/seqr then use p_senquencer to communicate, but just wondering if there is build-in API in sequencer to get the running sequence.
Thanks
Thanks Dave.
get_currect_item() works. A follow-up question, let say if i have below “wait” statements Does get_currect_item() without any arguments unblock wait expression? (a warning from one of simulator)
task run_phase(...)
forever begin
**wait(get_current_item() !=null);**
execute_item();
....
//work around for wait ( get_current_item != null);
while ( get_current_item() == null) begin
dummy_run()
end