Jump to content

sc_vector < sc_vector < multipassthrough_target_socket > > initialization & nb_transport_fw registration


Recommended Posts

I didn't note that you are using multi_passthrough_target_socket. Why would you want to create an sc_vector<sc_vector<..>> of that? This will effectively be a 3D vector...

But to answer your question: multi_passthrough_target_socket supports transport function registration using register_b_transport – so you can register the callback of your choice (just iterate over the ports in the constructor). If you want to using a single callback implementation for all ports, you can try with an additional parameter (to distinguish the dimension index) along with sc_bind (but I haven’t checked this).

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.

Guest
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...