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 />

WP channel type IA 141<br />

1.11.2 Address comparison<br />

The address comparison is performed using the effective address supplied to the<br />

instruction (known as Aeffective). When the MMU is enabled, this is an effective<br />

address. When the MMU is disabled, this is a physical address.<br />

The comparisons are unsigned. If the start/end address range straddles the<br />

unimplemented part of the effective address space (that is, it contains addresses in<br />

the range [2 (neff - 1) , 2 (<strong>64</strong> - neff - 1) ) where neff is the number of implemented effective<br />

address <strong>bit</strong>s, the behavior is architecturally undefined. If this type of ‘stradding’<br />

behavior is required, two IA channels must be programmed, each one limited to<br />

addresses in a single region of the implemented address space.<br />

1.11.3 <strong>SH</strong>compact behavior<br />

<strong>SH</strong>-5 may implement <strong>SH</strong>compact instruction execution by actual execution of a<br />

sequence of <strong>SH</strong>media instructions. In such implementations, IA watchpoint<br />

matches are made against the address of the single <strong>SH</strong>compact instruction (as the<br />

sequence of <strong>SH</strong>media instructions generated have no PC address).<br />

1.11.4 Event specifics<br />

Source CPU<br />

Reason: Fetch of an instruction at an address which is within an enabled IA<br />

watchpoint.<br />

Undefined behavior<br />

The following operations of the IAx registers are undefined:<br />

• Writing to WPC.WP_IAX_{PRE/MATCH/ACTION}, DM.WP_IAX_{PRE/ACTION} when the<br />

WP channel is enabled.<br />

D R A FT<br />

Supported fields in WPC.WP_IAx_PRE:<br />

BASIC_ENABLE, ASID_ENABLE, ASID_VALUE, ISAMODE_ENABLE, SR_MD_ENABLE,<br />

ECOUNT_ENABLE, ECOUNT_ID, CHAIN_ENABLE, CHAIN_ID<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!