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

Key concepts 27<br />

If multiple WP channels are setup to affect the same event counter, only a single<br />

event counter decrement will be performed for each simultaneous channel match<br />

(rather than the alternative of performing one decrement per simultaneous WP<br />

channel match).<br />

Register description<br />

{WPC/DM}.ECOUNT_VALUE_x<br />

where<br />

x = event counter ID<br />

Field Bits Size Volatile? Synopsis Type<br />

VALUE [63:0] <strong>64</strong> ✓ Counter value RW<br />

Operation<br />

When read<br />

When written<br />

HARD reset<br />

Contains the counter’s value.<br />

The implementation defines the significant size of the counter<br />

(known as ECOUNT.SIZE, see Section 4.1.2: Event counters on<br />

page 242).<br />

Bits [0:(ECOUNT.SIZE-1)] count down when a WP channel is set<br />

to decrement this counter. When the counter value reaches zero,<br />

no further decrementing occurs. Even if a watchpoint PRE<br />

register has an event counter enabled, debug software can<br />

disable the counter by setting the value to zero.<br />

Bits [ECOUNT.SIZE, 63] are undefined.<br />

Returns current value<br />

Updates value<br />

Undefined<br />

Table 7: {WPC/DM}.ECOUNT_VALUE_x register definition<br />

D R A FT<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!