03.01.2015 Views

80C186EC/80C188EC Microprocessor User's Manual

80C186EC/80C188EC Microprocessor User's Manual

80C186EC/80C188EC Microprocessor User's Manual

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.

CHIP-SELECT UNIT<br />

6.4.2 Start Address<br />

The START register of each chip-select defines its starting (base) address. The start address value<br />

is compared to the ten most-significant address bits of the bus cycle. A bus cycle whose ten mostsignificant<br />

address bits are equal to or greater than the start address value causes the chip-select<br />

to go active. Table 6-2 defines the address bits that are compared with the start address value for<br />

memory and I/O bus cycles.<br />

It is not possible to have a chip-select start on any arbitrary byte boundary. A chip-select configured<br />

for memory accesses can start only on multiples of 1 Kbyte. A chip-select configured for I/O<br />

accesses can start only on multiples of 64 bytes. The equations below calculate the physical start<br />

address for a given start address value.<br />

For memory accesses:Start Value (Decimal) × 1024 = Physical Start Address (Decimal)<br />

For I/O accesses:Start Value (Decimal) × 64= Physical Start Address (Decimal)<br />

Table 6-2. Memory and I/O Compare Addresses<br />

Address Space Address Range Number of Bits Comparator Input Resolution<br />

Memory 1 Mbyte 20 A19:A10 1 Kbyte<br />

I/O 64 Kbyte 16 A15:A6 64 Bytes<br />

6.4.3 Stop Address<br />

The STOP register of each chip-select defines its ending address. The stop address value is compared<br />

to the ten most-significant address bits of the bus cycle. A bus cycle whose ten most-significant<br />

bits of address are less than the stop address value causes the chip-select to go active.<br />

Table 6-2 defines the address bits that are compared with the stop address value for memory and<br />

I/O bus cycles.<br />

It is not possible to have a chip-select end on any arbitrary byte boundary. A chip-select configured<br />

for memory accesses can end only on multiples of 1 Kbyte. A chip-select configured for I/O<br />

accesses can end only on multiples of 64 bytes. The equations below define the ending address<br />

for the chip-select.<br />

For memory accesses:(Stop Value (Decimal) × 1024) – 1= Physical Ending Address (Decimal)<br />

For I/O accesses:(Stop Value (Decimal) × 64) – 1= Physical Ending Address (Decimal)<br />

6-10

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

Saved successfully!

Ooh no, something went wrong!