I have a condition like, I am running a sequence which contains many "ovm_do_with", as per the ovm those work sequentially, but can we make work two ovm_do_with parallely i.e. the situation is like when the first ovm_do_with is working within which it holds some values, so based on those values the next ovm_do_with has to work…
Eg: Process A is one ovm_do_with within which I am there gona be 4 transactions, and the process B is another ovm_do_with which has to intentionally work when the 3rd transaction of the Process A is over, its like Process A[ovm_do_with] is doing a write operation and before it completed its transaction I want to send one more command which is stop that is inside Process B [ovm_do_with],
How can i code this situation, Kindly do help me out!! Quite critical the problem is, kinldy help out ovm experts.
My requirment was, this is one sequence within which I have two ovm_do_with. In that first ovm_do_with, the number of transactions processed has 4 write operation to be done.
As soon the 2nd write transaction is over, i want to initiate the 2nd ovm_do_with, So what I did was took an event, and using p_sequencer I triggered the starting of the 2nd ovm_do_with,…
As per the process what i understood was, as soon the 2nd ovm_do_with is triggered, its kept in the sequencer queue, so only after the 1st ovm_do_with is processed the 2nd `ovm_do_with is starting the process…
Is it not possible to make both the transaction work in parallel i.e. isint the sequencer not possible to process both the `ovm_do_with in parallel…
Yes if they are items. all 4 items in seq A are already in the item queue before seq.B.
I do know if there is any way that could insert itme between queue, but suggest you could implement as do seqences instead of do itmes. than you could insert sequence B between 3rd and 4th sub-squences of squence A.