Which information is embedded in the packet when generating a RESPONSE packet (FType = 13), TRESP_TID or TRESP_MSG_SEG, TRESP_MBOX and TRESP_LETTER?
See RapidIO Packet Format Block Diagram in the Logical I/O Transport Layer User Guide.
How does the core decide which port to insert into the message?
The target_info is used for message responses (ttype = 4'b0001) when Doorbell and Messaging has been enabled. In all other instances, target_TID is used.