Genov Posted May 25, 2018 Report Posted May 25, 2018 Hello, I`am new to TLM and I`m trying to create a model of an Switch Matrix Hardware component and I have to use the non-blocking transport method. For now I am trying just to create the structure of my Modules. In my model I need to apply a Hierarchical binding and point-to-point communication with multiple sockets on one module. I tried to do that using the basic type of sockets (tlm_initiator/target_socket), the simple_sockets and the simple_sockets_tagged and it`s not working. From the LRM I found out that the simple_socket does not support the Hierarchical binding, so the only possibility that I see, is to use the multi-sockets. But I really need to have the two sockets ( I can`t use just a multi-socket that distribute the transactions in the two targets) and I need to have the hierarchical binding. I am not sure about the approach that I have to chose and I will be thanksfull if someone give me an advice. Thanks Quote
Philipp A Hartmann Posted May 25, 2018 Report Posted May 25, 2018 For hierarchical point-to-point binding, just use plain tlm_initiator/target_sockets on the parent module. You can keep using (tagged) convenience sockets at the leaves. Hope that helps, Philipp Quote
Genov Posted May 28, 2018 Author Report Posted May 28, 2018 Thanks Philipp! That is one of my problems.... is it possible to bind two tlm_initiator_sockets on the same module? Quote
Philipp A Hartmann Posted May 28, 2018 Report Posted May 28, 2018 1 hour ago, Genov said: is it possible to bind two tlm_initiator_sockets on the same module? Sure. Why do you ask? Quote
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.