
Or1ksimExtSC Wrapper Module
UartSC Module Class
TermSC Module Class
The current models are all untimed. In the TLM 2.0 components
(Or1ksimExtSC and UartSC)
the delay parameter to the blocking transport function has been ignored
by setting it to zero.
In this section, the models are extended to synchronize explicitly with the SystemC clock.
The synchronization is not perfect—the underlying Or1ksim ISS executes outside the SystemC world. Synchronization is only possible when it makes an upcall for read or write. In Chapter 9 this model will be further extended to add control over the underlying ISS and its interaction with SystemC time.
The code for the timed UART module
(UartSyncSC.cpp and
UartSyncSC.h), The code for the timed terminal
module (TermSyncSC.cpp and
TermSyncSC.h), the code for the timed Or1ksim
ISS wrapper (Or1ksimSyncSC.cpp and
Or1ksimSyncSC.h) and the main program for the
complete model (syncSocMain.cpp) may be founded in
the sysc-models/sync-soc directory of the
distribution.
