iAPX 188 CPU

15

,-----------,

0

15

 

80188 REGISTER BLOCK

 

 

 

 

lAX

AH

AL

I

 

 

 

 

I

 

 

 

I BX

BH

BL

 

 

 

I

 

DMACONTROL

 

 

I CX

CH

CL

 

 

 

 

 

 

 

lOX

OH

DL

I

 

 

 

 

I

 

SP

I

 

 

 

 

 

BP

I

 

 

 

I

 

CHIP SELECT

 

 

 

 

 

 

I

 

SI

I

CONTROL

 

 

 

 

 

 

 

 

I

 

01

I

 

 

256

 

 

 

 

 

 

 

IP

I

 

1BYTES

 

I

 

 

I

 

 

 

I

STATUS

TIMER

 

 

 

 

 

 

I

 

CS

I

CONTROL

 

 

 

 

 

 

I

 

SS

I

 

 

J

 

I

 

OS

I

 

 

I

 

ES

I

 

INTERRUPT

 

L _______ .-J

 

CONTROL

IRELOCATION REGISTER

 

THE MEMORY

 

 

OR I/O MAPPED

 

Figure 2. iAPX 188 Register Architecture

any external decode logic to select the re- quired I/O space or device. Each DMA chan- nel maintains two 20-bit source and destination pointers that can be incremented, decremented, or left unchanged after each transfer. Data transfers occur a byte at a time and can be anywhere in the 1 megabyte of directly addressable memory space. This al- lows a maximum transfer rate of 1 megabyte per second. The user can specify several differ- ent modes of DMA operation via the on-chip 16-bit DMA channel control word.

By using the 80188 DMA facilities, data Can be input onto local system memory, processed, passed on to the host computer (if needed), and output to another I/O device, all by the use of the two independent, high-speed, on-chip DMA channels.

Interrupt Controller

The 80188 interrupt controller resolves priority among interrupt requests that arrive simultaneously. It can accept interrupts from up to five external hardware sources (NMI +

4)and internal sources as well (timers, DMA channels). Each interrupt source has a pro- grammable priority level and a preassigned interrupt vector type, used to derive an ad- dress to a table in memory where interrupt

service routine addresses are located. This en- hancement of predefined vector types makes the interrupt response time about 50% faster than the typical iAPX 88 response time. The 8259A programmable interrupt controller (PIC) interrupt modes, such as fully nested and specially fully nested, are provided by the 80188 as well. In addition, multiple 8259As can be cascaded to provide the system with up to 128 external interrupts.

Chip Select/Ready Generation

The iAPX 188 contains programmable chip select logic to provide chip select signals for memory components, peripheral components, and programmable ready (wait state) genera- tion logic. The result of this integrated logic is a lower system part count, since as many as 11 TTL packs will be saved. In addition to a lower system cost, the performance of the system will improve as a result of the elimination of external propagation delays. Another advan- tage involves flexibility in the choice of memory component size and speed. Three memory ranges (lower, middle, upper) can be programmed to variable lengths (IK, 2K, 4K, ... 256K) so that a variety of memory chip sizes can be used. Further, anywhere from zero to three wait states can be pro- grammed so either high-speed or low-cost, slower memories can be used. With respect to the peripheral chip selects, as many as seven different peripheral components can be ad- dressed via I/O or memory space. Again, pro- grammable wait states may be injected to synchronize slower peripherals with the 80188 itself or memory.

The chip select/ready logic contributes to mak- ing the iAPX 188 an optimum, low-cost choice for a distributed processing node. In the past, this necessary logic had to be designed, de- bugged, and programmed. Now, with the 80188, the design, debug, and programming are done by initializing the associated 16-bit on-chip control registers.

1-21

Page 32
Image 32
Intel 210200-002 manual Interrupt Controller