In reply to cgales:
Thank you.
I tried few experiments and observed 2 things.
-
If I call same sequence from base test and pass tb.vseqr as the seqr argument, somehow there is no issue and the test passes. (Reality: I cannot implement all tests from base test)
-
If I pass only p_sequencer instead of p_sequencer.axi_switch_mst_wr_seqr, it doesn’t give me null object access error for that particular start() call. But it stops later in axi seq with the same error. Since axi uvc sequence is using p_sequencer, I cannot avoid p_seqr even if I want to.
As you can see in the env.sv file, axi uvc is created and seqr connections are made. I am not sure what could cause null object error.