UVM Driver needs to do 100(`MAX_TRANS) transactions in which the address needs to transfer every posedge clock cycle and the data needs to transfer every four cycles(`MAX_WAIT). I tried the below sample code, but didn't get it to work

In reply to cgales:

In reply to Subbi Reddy:
The number of transactions generated is controlled by the sequence, not the driver. The driver should have a single forever block, but you are forking many different forever blocks, which won’t work.

How sequence will send the data for every n cycles and address will send for every posedge cycle
It is necessary to take separate sequences for data and addresses
or
The data needs to be stored in the queue for every transaction. If yes, then how can the remaining data be sent.

please Share your knowledge about this topic