Emulation and debug circuitry is provided that can be incorporated into a
variety of digital systems. A stop mode of operation is provided in which
an associated processor stops processing instructions in response to a
debug event. A real-time mode of operation is provided in which the
processor stops processing background instructions in response to a debug
event, but in which high priority interrupts are still processed.
Interrupts are classified and processed accordingly when the processor is
stopped by a debug event. While suspended for a debug event, a frame
counter keeps track of interrupt debug state if multiple interrupts occur.
While running or suspended, the emulation circuitry can jam an instruction
into the instruction register of the processor to cause processor
resources to be read or written on behalf of the emulation circuitry.
Read/write transactions are qualified by an expected frame count to
maintain correspondence between test host software and multiple
debug/interrupt events. Architecture and instruction set are optimized for
low power consumption and high efficiency execution of DSP algorithms,
such as for wireless telephones, as well as pure control tasks.