The user should instantiate an instance of
JtagSC
for each JTAG interface on the
target model. The JtagSC
ports should be
connected to the system reset and TAP signal ports on the model
using SystemC signals of type
sc_signal<bool>
.
Other SystemC modules may then queue actions by writing instances of
TapActionReset
,
TapActionIRScan
and
TapActionDRScan
to the
JtagSC
FIFO. This is normally within the
context of a SC_THREAD
, allowing the module to
wait
for notification when each action is
complete.