25.02.2015 Views

SuperH (SH) 64-bit RISC Series SH-5 System Architecture, Volume ...

SuperH (SH) 64-bit RISC Series SH-5 System Architecture, Volume ...

SuperH (SH) 64-bit RISC Series SH-5 System Architecture, Volume ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

PRELIMINARY DATA<br />

86 Debug module<br />

• Bus capture buffers in the <strong>SuperH</strong>yway bus analyzers.<br />

Trace bus from<br />

<strong>SuperH</strong>yway bus<br />

analyzer<br />

Trace bus from<br />

WPC in core<br />

Watchpoint<br />

trigger signals<br />

from WPC in<br />

core and bus<br />

Analyzers<br />

bus<br />

capture<br />

Capture<br />

buffer<br />

CPU core<br />

clock<br />

Determine<br />

latch/counter<br />

action<br />

Chain<br />

latches<br />

Event<br />

counters<br />

Performance<br />

counters<br />

Trigger<br />

latch &<br />

pulse<br />

generator<br />

Select<br />

FIFO for<br />

compressed<br />

messages<br />

Write to<br />

Memory<br />

Function<br />

Pre-scaler<br />

Create trace<br />

message<br />

<strong>SuperH</strong>yway<br />

Slave<br />

Figure 3: Debug module functions<br />

D R A FT<br />

The debug module has the following main functions:<br />

Time reference<br />

counter (40-<strong>bit</strong>)<br />

Time difference<br />

counter (8-<strong>bit</strong>)<br />

Generate<br />

Reference<br />

message<br />

debug-link<br />

Transmit<br />

<strong>SH</strong>debug<br />

debug-link link<br />

Receive<br />

<strong>SuperH</strong>yway<br />

Master<br />

<strong>SuperH</strong>yway<br />

JTAG TAP<br />

controller<br />

Calculate<br />

address offsets<br />

<strong>SH</strong>debug link<br />

JTAG port<br />

• Determine the destination of trace messages received from the watchpoint<br />

controller (WPC) in the CPU core, or from either of the bus analyzers.<br />

• Provide FIFO buffering for trace messages awaiting transmission to a tool or<br />

writing to target memory trace buffer.<br />

• Send trace messages to a tool using either the <strong>SH</strong>debug link or the JTAG debug<br />

interface.<br />

<strong>SuperH</strong>, Inc.<br />

<strong>SH</strong>-5 <strong>System</strong> <strong>Architecture</strong>, <strong>Volume</strong> 3: Debug 05-SA-10003 v1.0

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!