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 ...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
PRELIMINARY DATA<br />
180 <strong>SuperH</strong>yway watchpoint comparators<br />
The <strong>SuperH</strong>yway bus may be implemented with multiple bus segments to improve<br />
performance by permitting transactions to occur on multiple segments concurrently.<br />
In such a multi-segment implementation, the <strong>SuperH</strong>yway bus analyzer will be<br />
physically implemented with multiple watchpoint comparators, one set on each<br />
segment. Functionally however, watchpoint sets on multiple bus segments are<br />
treated as a single set, controlled by the same registers.<br />
<strong>SuperH</strong>yway bus analyzer watchpoints include the standard WP channel features,<br />
and so can make use of chain-latches, event counters, performance counters:<br />
• Chain-latches can be used to combine ar<strong>bit</strong>rary WP channels in sequence<br />
(including combining CPU and bus analyzer watchpoints).<br />
• Event counters can be used to provide “trigger after N hits” functionality.<br />
Accesses from the CPU to the WPC memory-mapped registers (resulting from loads<br />
and stores in the instruction stream) may be routed internally to the CPU,<br />
bypassing the <strong>SuperH</strong>yway. Whether this happens is implementation-dependent.<br />
Hence, whether such loads and stores can be detected by the bus analyzer channels<br />
is implementation-dependent.<br />
Accesses to the WPC registers from other <strong>SuperH</strong>yway modules (for example, the<br />
<strong>SH</strong>debug link via the debug module) are visible to the bus analyzer channels.<br />
2.2 <strong>SuperH</strong>yway watchpoint comparators<br />
Control registers associated with each <strong>SuperH</strong>yway watchpoint allow the following<br />
<strong>SuperH</strong>yway specific parameters to be defined:<br />
• Bus transaction type: Opcode value and opcode mask fields allow any type of<br />
request or response to be matched.<br />
• Source device ID (specific ID or any source).<br />
• Destination device ID (top 8-<strong>bit</strong>s of address, maskable).<br />
D R A FT<br />
• Destination address comparison range, for requests only.<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