All the definitions required are obtained from the definition file:
#include "Or1ksimSC.h"
The implementation of a C++ class that is a SystemC module with
SystemC threads (SC_THREAD
), methods
(SC_METHOD
) or clocked threads
(SC_CTHREAD
) requires a number of definitions for
that class to be set up using the SC_HAS_PROCESS
macro.
SC_HAS_PROCESS( Or1ksimSC );
Caution | |
---|---|
The
The
In cases such as this, where the constructor implementation is
separate from the definition, SystemC requires that the
|