The class implementation for an example bus component initializes the CASIMMI interface.
An example of a constructor for the component is shown in Example 5.4.
Example 5.4. Constructor
CompBus::CompBus(CASIModuleIF* c, const std::string &s) : CASIModule(c, s) { bm1_BMaster = new sc_port< CASITransactionIF, 0 >(this, "bm1", 0x1000, 0x10000 ); initTransactionPort((CASIPortIF*)bm1_BMaster); registerPort( bm1_BMaster, "bm1" ); }