7-23
PERIPHERAL SUBSYSTEM
Figure 7-10
shows PLD equations for basic I/O control logic. A wait state generator should be
implemented to optimize wait state generation.
Figure 7-10. PLD Equations for Basic I/O Control Logic
The equation in
Figure 7-10
shows an implementation of a seven-state wait state controller. The
wait state logic inserts the needed wait states according to the number required by the device be-
ing accessed. In a simple design, I/O accesses can be designated as being equal to the number of
wait states required by the slowest device.
7.2.4
Address Decoder
The function of the address decoder is to decode the most significant address bits and generate
address select signals for each system device. The address space is divided into blocks, and the
address select signals indicate whether the address on the address bus is within the predetermined
range. The block size usually represents the amount of address space that can be accessed within
a particular device and the address select signal is asserted for any address within that range.
Inputs
ADS#, M/IO#, D/C#, W/R#, SEL0, SEL1, SEL2
Outputs
IOCYC, 0 C1, C2, IOR#, IOW#, RDY#
IOCYC = IOCYCLE VALID
C0, C1, C2 = Outputs of a 3-bit counter
Sel 0, 1, 2 = Programmable wait state select input
PLD Equation:
IO VALID CYCLE;
; start I/O cycle
IOCYC : =ADS * M/IO# *D/C
;END when ready
Wait State Counter;
C0 : = IOCYC * C0#
;Counter bit 0
C1 : = IOCYC * C0 * C1#
;Counter bit 1
+ IOCYC * C0# * C1
C2 : = IOCYC * C0 * C1 * C2#
;Counter bit 2
+ IOCYC * C0# * C2
+ IOCYC * C0# * C1 * C2
I/O Read; I/O Write
IOR : = ADS * M/IO# * D/C * W/R#
+ IOR * RDY
IOW : = ADS * M/IO * D/C * W/R
+ IOW * RDY#
READY (3 Wait States)
RDY = C0 * C1 * C2#
Содержание Embedded Intel486
Страница 16: ......
Страница 18: ......
Страница 26: ......
Страница 28: ......
Страница 42: ......
Страница 44: ......
Страница 62: ......
Страница 64: ......
Страница 138: ......
Страница 139: ...5 Memory Subsystem Design Chapter Contents 5 1 Introduction 5 1 5 2 Processor and Cache Feature Overview 5 1 ...
Страница 140: ......
Страница 148: ......
Страница 150: ......
Страница 170: ......
Страница 172: ......
Страница 226: ......
Страница 228: ......
Страница 264: ......
Страница 282: ......
Страница 284: ......