Jump to content


Recommended Posts

I hear you.... these classes are named for what they do, from an implementation perspective, not what they are used for from a user perspective. And actually it is not "import" but "imp" for "implementation".

First, I have to ask what are you trying to accomplish, so we can determine which port to use.

If you are using analysis ports, the source uses the "port", the observers use the "imp". If you need to export a port through a higher level component, you use an "export" for the observer and a "port" for the source.

If you can use the TLM2 sockets instead, they are named from a user's perspective (initiator vs target) (socket vs passthru_socket) so you need not mess around with that imp/ex/port confusion.

Avoid using the other TLM1 ports if you can but they work the same as analysis ports.

Link to comment
Share on other sites

Thank you Janick.

Actually rigtht now i am more concentrating on TLM1.I got some of the idea that i can connect port to port,export and imp.and export to export and imp.but still confuse about how to connect imp to imp .and i m thinking of a scenario where i need connect two implementation ports.

Link to comment
Share on other sites


i think the model is simple to remember:

1. TLM1 interaction is always 'initiated' at a PORT

2. the started interaction is always handled finally by an "IMP"lementation

3. the path between the starting PORT and the final IMP may contain other "EXPORTS" (which are a simple proxies between PORT and IMP) or PORTS

you can see connection rules


ps: i know there is a broadcast scenario which allows [EX]PORT-IMP*

could you please explain more of you usage model?



Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...