Services and Modeling for Embedded Software Development
Embecosm divider strip
Prev  Next

4.2.3.  Constructor and Destructor

Or1ksimSC needs a custom constructor, which can be passed the Or1ksim ISS configuration and image files. It will call the or1ksim_init function within the Or1ksim library (see Section 4.1.1) to initialize the ISS.

Or1ksimSC( sc_core::sc_module_name  name,
           const char              *configFile,
           const char              *imageFile );
	  

The default destructor is sufficient here. The module has no tidying up to do on termination.

Embecosm divider strip