The overall class diagram for the simple SoC design incorporating a
UART and terminal is shown in Figure 7.1. Elements from the earlier
logger example (see Chapter 5) are
shown in less detail. The UART replaces the logger class, and
links to a terminal/keyboard emulator via byte wide
sc_buffer
buffers. The
txReceived
SystemC event is used by the TLM 2.0
target socket handler of the UART (which is executed in the thread
of the calling initiator socket) to notify the bus handling thread
of the UART that there is a byte to be passed on to the terminal.