Reza_sh Posted January 30, 2014 Report Share Posted January 30, 2014 Hi, I am trying to implement XY routing using TLM base protocol in LT coding style. First of all, I am not sure if it is a right assumption to implement a routing protocol using tlm base protocol. Supposing that my assumption is true (please let me know if my assumption is true), I have the following question: - Since each component can be both a sender and receiver, do I need to define two connections between each two components? To clarify my question, lets say we are talking about components A1 and A2. If A1 wants to send a transaction towards A2, the connection is from A1's initiator socket to A2' target socket. Likewise, A2's initiator socket and A1's target socket is used for sending a packet from A2 to A1. Thanks in advance for your help, Reza Quote Link to comment Share on other sites More sharing options...
apfitch Posted January 31, 2014 Report Share Posted January 31, 2014 TLM 2 was designed for point-to-point communication - so yes, if you want to model bi-directional communication you need both sides to be both initiators and targets. regards Alan P.S. Of course a typical bus internconnect has both initiator and target sockets. But the definition of an initiator in TLM2 is generally considered to be that it creates transaction objects - whereas an interconnect may not create transaction objects, it may just pass them on (possibly altering the address field to implement routing). Quote Link to comment Share on other sites More sharing options...
Reza_sh Posted February 5, 2014 Author Report Share Posted February 5, 2014 Thanks Alan Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.