In reply to Jintu K Joseph:
A few other things you should clean-up before continuing with your construction problem.
(1) the uvm_subscriber class has itself a built-in analysis_export/imp. You do not have to add another one explicitly.
(2) the write function of the analysis_export/imp is a pure virtual function, i.e. the prototype lokks like this:
pure virtual function void write( T t). The argumnet name is t and not t1 as you are using.
Please correct these issues and modify the connection to the buil-in analysisi_port in the right way.