The only public interface is the TLM 2.0 simple initiator convenience
socket, dataBus
. The TLM 2.0 convenience sockets are
templated with
the class of which any callbacks are members;
a bus width (default BUSWIDTH
, 32); and
a protocol type (default the TLM 2.0 base protocol types).
For this case study, the default bus width and protocol are
appropriate and need not be specified. There is no default class for
the template, so Or1ksimSC
is used. A class must be
specified, even where (as in this case for a simple blocking
initiator) no callbacks are actually required.
tlm_utils::simple_initiator_socket<Or1ksimSC> dataBus;