Jump to content

Tagging multi pass through initiators

Recommended Posts

I have a multipass through target with nb_btransport_fw registered. 

init1 (target)

init2 (target)

Something like this 

target.register_nb_transport_fw(   this, &top::nb_transport_fw);
tlm::tlm_sync_enum nb_transport_fw(int id, tlm::tlm_generic_payload& trans, tlm::tlm_phase& phase, sc_time& delay){

does the id parameter identify the incoming initiators or is it the id of the target socket which means this is stuck at 0?

Share this post

Link to post
Share on other sites

But since these are multi_passthru sockets the id indicates the number of the bound initiator socket (as the multi_passthru_target_socket can bind several sockets to one).


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now