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

5.4.  The Model Main Program

5.4.1. Included Headers
5.4.2. Argument Processing
5.4.3. Module Instantiation
5.4.4. Connecting the Modules
5.4.5. Model Execution

The logger module and the Or1ksim wrapper module must be connected in the main program (sc_main since this is SystemC), and the simulation invoked.

The code for the main program may be found in sysc-models/logger/loggerMainSC.cpp in the distribution.

Embecosm divider strip