Services and Modeling for Embedded Software Development
Embecosm divider strip
Prev  Next

11.4.  A JTAG Traffic Generating Class

11.4.1. JtagLoggerSC Module Class Definition
11.4.2. JtagLoggerSC Module Class Implementation

In normal use, a debugger, such as GDB would be connected to the JTAG port. For demonstrating the interface, we use a stripped down JTAG logger class. This uses the debug interface to read the processor's next program counter SPR once per (modeled) second.

With the Or1ksim debug unit (see [2]), this requires the following steps.

These last two steps are repeated with a wait of one second between, to give a regular report on the value of the next program counter.

Embecosm divider strip