Hi,
I am getting this below error in virtual sequencer. Can any one help tell me what is wrong with the code?
neither the item’s sequencer nor dedicated sequencer has been supplied to start item in ch_seq.seq
Hi,
I am getting this below error in virtual sequencer. Can any one help tell me what is wrong with the code?
neither the item’s sequencer nor dedicated sequencer has been supplied to start item in ch_seq.seq
In reply to rag123:
Hi rag123,
as per your code you don’t use read_seqr both agent use only bus_seqr and you also miss connection of your seqr present in virtual seq please look at modified code hear :-
(add connect_phase in test and comment one seq in vseq because of missing same seqr in agent)
In reply to dhaval_sanepara:
Dhaval,
the env has two agents and each of them has respective sequencers. so i am using a virtual sequence i dont think we need to explicitly set the connection.
In reply to rag123:
your bothe seqr extends from uvm_seqr … and you try to on seq on read_seqr that not present in any agent that’s why i comment one of the seq.start.
and second thing provide manual connection is good with vseq.
In reply to dhaval_sanepara:
Thanks Dhaval.I realized what the problem was, i was pointing to both the sequencer to be pointing to same bus_sequencer as u mentioned; I fixed that. Also there is no need to comment out one of that start method as both of them run in parallel, i did the connection in connect_phase of test.
ch_seq.bs_sqr = m_agent.m_sequencer;
ch_seq.rd_sqr = m_agent2.m_sequencer;