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

Create successful ePaper yourself

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

CHAPTER 6<br />

CHIP-SELECT UNIT<br />

Every system requires some form of component-selection mechanism to enable the CPU to access<br />

a specific memory or peripheral device. The signal that selects the memory or peripheral device<br />

is referred to as a chip-select. Besides selecting a specific device, each chip-select can be<br />

used to control the number of wait states inserted into the bus cycle. Devices that are too slow to<br />

keep up with the maximum bus bandwidth can use wait states to slow the bus down.<br />

6.1 COMMON METHODS FOR GENERATING CHIP-SELECTS<br />

One method of generating chip-selects uses latched address signals directly. An example interface<br />

is shown in Figure 6-1(A). In the example, an inverted A16 is connected to an SRAM device<br />

with an active-low chip-select. Any bus cycle with an address between 10000H and 1FFFFH<br />

(A16 = 1) enables the SRAM device. Also note that any bus cycle with an address starting at<br />

30000H, 50000H, 70000H and so on also selects the SRAM device.<br />

Decoding more address bits solves the problem of a chip-select being active over multiple address<br />

ranges. In Figure 6-1(B), a one-of-eight decoder is connected to the uppermost address bits. Each<br />

decoded output is active for one-eighth of the 1 Mbyte address space. However, each chip-select<br />

has a fixed starting address and range. Future system memory changes could require circuit<br />

changes to accommodate the additional memory.<br />

6.2 CHIP-SELECT UNIT FEATURES AND BENEFITS<br />

The Chip-Select Unit overcomes limitations of the designs shown in Figure 6-1 and has the following<br />

features:<br />

• Ten chip-select outputs<br />

• Programmable start and stop addresses<br />

• Memory or I/O bus cycle decoder<br />

• Programmable wait-state generator<br />

• Provision to disable a chip-select<br />

• Provision to override bus ready<br />

Figure 6-2 illustrates the logic blocks that generate a chip-select. Each chip-select has a duplicate<br />

set of logic.<br />

6-1

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

Saved successfully!

Ooh no, something went wrong!