Jump to content


  • Content Count

  • Joined

  • Last visited

Posts posted by Veena

  1. SC_MODULE(target)
      tlm_utils::simple_target_socket<target> socket1;
      tlm_utils::simple_target_socket<target> socket2;
        : socket1("socket1")
        , socket2("socket2")
        socket1.register_b_transport(this, &target::first_b_transport);
        socket2.register_b_transport(this, &target::second_b_transport);
      void first_b_transport( tlm::tlm_generic_payload &, sc_core::sc_time & );
      void second_b_transport( tlm::tlm_generic_payload &, sc_core::sc_time & );

  2. Hi,

    First up on thanks for replying, my question is in model I need to implement two b_transport methods, so that I created two target sockets and register the b_transport_1 function to target socket socket1 and second b_transport_2 function to target socket socket2.

    When I compile code it giving error as   error: ‘class tlm::tlm_fw_transport_if<>’ has no member named ‘b_transport_2’

    As you suggest in, 

    Thanks in advance,

    / Veena

  • Create New...