In reply to yasaswi93:
TLM ports don't register with factory register so TLM port does not see type_id::create()
TLM port connection is a static connection to its relevant port/export, it means that port and its connection won't be changed throughout the simulation lifetime.
we use the new method during the build phase and make the connection in connect_phase using the connect method of the port. After the connect_phase, we don't make any change in connection or port type.
What make you think that TLM port should use Factory ?