In uvm agent driver and monitor connection will done by
Drv_h.seq_item_port.connect(seqr_h.seq_item_export); right
if we done like this that connect will call which virtual function n how it will call that put and get methods
In reply to nana:
drv_h.seq_item_port.connect(seqr_h.seq_item_export);
makes the connection between sequencer and driver. The connection should be established in the connect_phase. At that time there is no put or get called.
In the run_phase the driver calls either get ot get_next_item to retrieve a seq_item from the sequencer.