Jump to content

gkmike68

Members
  • Content Count

    3
  • Joined

  • Last visited

  1. Hi All, I solved this problem by using only one sc_module base=> struct to share A and B A => normal c++ class B => normal c++ class top=> a systemc module (virtual public A, virtual public B ) SC_THREAD should be written in top only
  2. Hi Kartik, Actually I did. I modified my question to make it clearer sorry for the mistake
  3. Hi All, I have a case using "diamond inheritance" sc_module as below figure base / \ A B \ / top base=> struct to share A and B A => a systemc module (virtual public sc_module) B => a systemc module (virtual public sc_module) top=> a systemc module (virtual public A, virtual public B ) it work fine. But when I using SC_THREAD. the compiler shows error, "pointer to member conversion via virtual base". is it possible to fix the error? Thanks
×
×
  • Create New...