Jump to content

vishwap

Members
  • Content Count

    1
  • Joined

  • Last visited

About vishwap

  • Rank
    Member

Profile Information

  • Gender
    Male
  1. I don't remember if the concept of interface came first in SystemC or SystemVerilog. But the interfaces are pretty much there in SystemC. Look at sc_interface. You can define your own interface class my_interface : public sc_interface { // ports and methods } then you can use this interface to define ports like this. class my_module : public sc_module { ........ sc_port<my_interface> myPort; } And the you can define your channels which you can use to connect this new type of ports. This I am just giving a rough idea. There are some examples available in the distribution.
×
×
  • Create New...