I am verifying an AXI4 Lite DUT, where I created two sequences one for write and one for the read. Now in the test, I am running the two sequences in parallel like:
fork
s_read.start(e.a.seqr);
s.write.start(e.a.seqr);
join
Now the thing is, firstly how the driver which only has a single method:
get_item_port.get_next_item(txn); // where txn is the object of the transaction or sequence item class
will handle this, like when the read is finished and write is ongoing, the seq of read is only called and vice versa.
I think that the concept of pipelined driver is to be applied but I am not sure how the driver should work, like what should be the solution of it along with the sequencer working