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

182 Matching on devices with wide address ranges<br />

2.3 Matching on devices with wide address<br />

ranges<br />

Some <strong>SuperH</strong>yway devices (for example, the external memory interface (EMI)) have<br />

address ranges that occupy more than one value in the most significant byte. When<br />

programming a bus analyzer channel to match accesses to such a device, the<br />

programming must be as though multiple devices are being matched, one per value<br />

of the highest byte. The following paragraphs give some examples.<br />

• If the desired address range is [0x81001000, 0x81002000], this can be<br />

programmed by setting the address start and end registers to 0x1000 and<br />

0x2000 respectively, and the source/destination device value and mask to match<br />

precisely the value 0x81.<br />

• If the desired address range is [0x80000000, 0x81FFFFF8], this can be<br />

programmed by setting the address start and end registers to 0x0 and<br />

0xFFFFF8 respectively, and the source/destination device value and mask to<br />

match the values 0x80 and 0x81 (that is, with a wildcard LSB).<br />

• If the desired address range consists of the 2 subranges [0x80000000,<br />

0x807FFFF8] and [0x810000000, 0x817FFFF8], this can be programmed by<br />

setting the address start and end registers to 0x0 and 0x7FFFF8 respectively,<br />

and the source/destination device value and mask to match the values 0x80 and<br />

0x81 (that is, with a wildcard LSB).<br />

• It is not possible to match a range like [0x80800000, 0x817FFFF8]. This would<br />

require the end address to be set less than the start address, so no address would<br />

match for both address comparators.<br />

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