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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

PRELIMINARY DATA<br />

Debug protocols and interfaces 127<br />

OA watchpoint trace message (7-bytes minimum, 16-bytes maximum)<br />

Field<br />

Size<br />

Header <strong>bit</strong><br />

positions<br />

Description<br />

DATA_ADDRESS<br />

4, 5, 6 or<br />

8 bytes<br />

N/A<br />

If .DATA_FIELD_SIZE indicates a 0 byte store, this field<br />

is 4 bytes in length.<br />

If .DATA_FIELD_SIZE indicates a 1 byte store, this field<br />

is 5 bytes in length. Bits [39:32] correspond to the<br />

8-<strong>bit</strong>s of data stored to memory.<br />

If .DATA_FIELD_SIZE indicates a 2 byte store, this field<br />

is 6 bytes in length. Bits [47:32] correspond to the<br />

16-<strong>bit</strong>s of data stored to memory.<br />

If .DATA_FIELD_SIZE indicates a 4 byte store, this field<br />

is 8 bytes in length. Bits [63:32] correspond to the<br />

32-<strong>bit</strong>s of data stored to memory.<br />

If .DATA_FIELD_SIZE indicates an 8 byte store, this<br />

field is 8 bytes in length. Bits [63:32] correspond to<br />

<strong>bit</strong>s [31:0] of the <strong>64</strong> <strong>bit</strong>s of data stored to memory.<br />

The meaning of <strong>bit</strong>s [31:0] is dependant on the setting<br />

of WPC.ADDR_IN_TRACE:<br />

If .MUX_ADDR == 1, <strong>bit</strong>s[31:0] correspond to the<br />

operand address at which the triggering instruction<br />

stored data to memory.<br />

If .MUX_ADDR == 0, <strong>bit</strong>s[31:0] correspond to <strong>bit</strong>s<br />

[63:32] of the <strong>64</strong> <strong>bit</strong>s of data stored to memory by the<br />

triggering instruction. They only contain valid<br />

information if .DATA_FIELD_SIZE indicates an 8 byte<br />

store.<br />

For the store instructions that support misaligned<br />

addresses, the contents of this field are described in<br />

Handling of misaligned store instructions on page 134<br />

D R A FT<br />

Table 42: OA watchpoint trace message<br />

05-SA-10003 v1.0<br />

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

<strong>SH</strong>-5 <strong>System</strong> <strong>Architecture</strong>, <strong>Volume</strong> 3: Debug

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

Saved successfully!

Ooh no, something went wrong!