Jump to content

UVM and boost::bind


Recommended Posts

Hello,

I have two classes in two different files:

 

class B : public uvm_component

{

...

do_something();

...

}

 

class A : public uvm_component

{

....

SetCallback(boost::bind(&B::do_something, *pB, _1, _2));

...

}

 

When I try to compile this, I have this error:

 

"/home/cadence/UVM_ML-1.3.4.3/ml/frameworks/uvm/sc/base/uvm_component.h", line 60: error:
          "sc_core::sc_module::sc_module(const sc_core::sc_module &)"
          (declared at line 398 of
          "$CDSROOT/tools/systemc/include_pch/64bi
          t/sysc/kernel/sc_module.h") is inaccessible
  class uvm_component : public sc_core::sc_module, public uvm_typed {
                               ^
          detected during:
            implicit generation of "uvm::uvm_component::uvm_component(const
                      uvm::uvm_component &)" at line 14 of
            implicit generation of "collector::collector(const collector &)"
                      at line 14 of

 

Any idea?

Thanks

 

Link to post
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...