MPMC_U2_ECE
MPMC_U2_ECE
8086
SYSTEM BUS STRUCTURE
S.KARTHICK., AP/ECE 1
EXTERNAL
MEMORY
ADDRESSING
S.KARTHICK., AP/ECE 2
EXTERNAL MEMORY
ADDRESSING
S.KARTHICK., AP/ECE 3
EXTERNAL MEMORY
ADDRESSING
• In 8086 the 1MB memory is physically organized as odd band
S.KARTHICK., AP/ECE 5
BUS CYCLES
MEMORY or I/O READ FOR MINIMUM MODE
S.KARTHICK., AP/ECE 6
BUS CYCLES
MEMORY or I/O WRITE FOR MINIMUM MODE
S.KARTHICK., AP/ECE 7
SOME
IMPORTANT
COMPANION
CHIPS IN 8086
S.KARTHICK., AP/ECE 8
IMPORTANT COMPANION CHIPS
The following chips are used for the design of 8086 based system
S.KARTHICK., AP/ECE 9
IMPORTANT COMPANION CHIPS
Clock Generator Intel 8284:
Provides a stable clock
S.KARTHICK., AP/ECE 10
IMPORTANT COMPANION CHIPS: Clock Generator Intel 8284
S.KARTHICK., AP/ECE 11
IMPORTANT COMPANION CHIPS: Clock Generator Intel 8284
S.KARTHICK., AP/ECE 12
IMPORTANT COMPANION CHIPS: Clock Generator Intel 8284
CYSYNC: Synchronization of signals in multiprocessor environment where all
processors receive clock at EF1.
PCLK: Clock signal output for supporting circuits.
AEN1¯ & AEN2¯: To attribute bus priorities when both RDY1 and RDY2 are
active. 8284 responds to RDY1 when AEN1 is low , similarly RDY2 when AEN2 is
low
RDY1: Clock frequency
READY: Clock frequency
RDY2: Clock frequency
CLK: Connected to 8086/8088 CLK pin.
RESET: Generates the Reset output as required by 8086
RES¯: Reset logic input. External device can reset the 8086.
OSC: Oscillator output running at crystal or EF1 frequency. Used in
multiprocessor system
F/C¯: If high clock at EF1 is taken, If low X1,X2 is taken
EF1: Alternate clock input
ASYNC¯: It selects either one or two stages of synchronization for RDY1 and
RDY2 inputs. If low one level is selected. If high two levels are selected.
X1,X2: Clock frequency
S.KARTHICK., AP/ECE 13
GND & VCC: Connects to Ground & Power
IMPORTANT COMPANION CHIPS
Bidirectional Bus Transceiver Intel 8286/8287
S.KARTHICK., AP/ECE 14
IMPORTANT COMPANION CHIPS
Bidirectional Bus Transceiver Intel 8286/8287
A0-A7 are connected to MP address/data bus.
B0-B7 are connected to system bus of system.
When T (Direction Select) is Low: data at B pins is
output via A pins
When T (Direction Select) is High: data at A pins is
output via B pins
8286 transfer the data unaltered while the 8287
inverts the data at the time of transfer.
T pin is usually connected to DT/R¯ and OE¯
connected to DEN¯ of 8086.
OE¯ must be held low for actual data transfer to take
place.
S.KARTHICK., AP/ECE 15
IMPORTANT COMPANION CHIPS
8 Bit Input Output Port Intel 8282/8283
S.KARTHICK., AP/ECE 16
IMPORTANT COMPANION CHIPS
S.KARTHICK., AP/ECE 18
IMPORTANT COMPANION CHIPS
Its main function is to decode the status line signals S0¯, S1¯,
S2¯ and to generate system bus control signals.
S.KARTHICK., AP/ECE 19
Bus Controller Intel 8288
Effect of AEN1¯, IOB and CEN on control
signals
S.KARTHICK., AP/ECE 20
MAXIMUM
MODE BUS
CYCLE
S.KARTHICK., AP/ECE 21
8086 SYSTEM
CONFIGURATIO
N
S.KARTHICK., AP/ECE 22
MEMORY INTERFACING
Interfacing of 8086 MP to memory is the main step in the design of
a MP based system
S.KARTHICK., AP/ECE 23
MEMORY INTERFACING: MEMORY ADDRESS
DECODING
S.KARTHICK., AP/ECE 24
MINIMUM
MODE SYSTEM
CONFIGURATIO
N
S.KARTHICK., AP/ECE 25
MINIMUM MODE SYSTEM CONFIGURATION
S.KARTHICK., AP/ECE 26
MINIMUM MODE SYSTEM CONFIGURATION
In a minimum mode 8086 system, the MP 8086 is operated in
minimum mode by its MN/MX¯ pin to logic 1.
In this all the control signals are given out by the
microprocessor itself.
There is a single processor in the minimum mode system.
Remaining components are 8282 latches, 8286 bus
transceivers and 8284 clock generator.
The 8282 latch is used to demultiplex the address/data bus
lines to two separate address and data buses using ALE pin.
The 8284 clock generator provides CLK, READY and RESET
signals to the 8086.
The data bus D0-D15 is bidirectional, in order to create a
separate data bus from address/data bus, two 8286
bidirectional bus transceivers are used. DT/R¯ and DEN¯
output of 8086 are connected to 8286 as T and OE¯
respectively
S.KARTHICK., AP/ECE 27
MAXIMUM
MODE SYSTEM
CONFIGURATIO
N
S.KARTHICK., AP/ECE 28
MAXIMUM MODE SYSTEM CONFIGURATION
S.KARTHICK., AP/ECE 29
MAXIMUM MODE SYSTEM CONFIGURATION
S.KARTHICK., AP/ECE 30
INTERRUPT PROCESSING
INTERRUPT SERVICE ROUTINE (ISR)
While the CPU is executing a program, an interrupt breaks the
normal sequence of execution of instructions, diverts its execution
to some other program. After executed ISR, the control is
transferred back again to the main program which was being
executed at the time of interruption.