Hello,
I do not connect uvm_analysis_port to uvm_analysis_imp and using
uvm_analysis_port.write
Should not it give fatal error?
As write method for uvm_analysis_port is as below
// Method: write
// Send specified value to all connected interface
function void write (input T t);
uvm_tlm_if_base # (T, T) tif;
for (int i = 0; i < this.size(); i++) begin
tif = this.get_if (i);
if ( tif == null )
uvm_report_fatal ("NTCONN", {"No uvm_tlm interface is connected to ", get_full_name(), " for executing write()"}, UVM_NONE);
tif.write (t);
end
endfunction
So if it gets tif = null , it will give FATAL Error.
I may not be clear with understanding.
Please correct me