MPMC 2ND
MPMC 2ND
MINIMUM
CONFIGURATIONS-
MINIMUM
MODE
TIMING
SYSTEM BUS STRUCTURE; c o m p u t e r system.
of a
components
the major
bus that c o n e c t s
System bus is a single computer
address bus andcontro bus.
Itconsistsof databus.
DATA BUS: and peripherals.
It is bi-
the processor, memory it
of data between the address of the data,
It is used for the exchange When it issues
allows data flow in both directions.
directional so that it
loads the data through the data bus.
ADDRESS BUS:
or output
between the microprocessor and memory
The address bus contains the connections
which the CPU is processing at that time
devices that carry the signals relating to the addresses
It is unidirectional. Maximum
such as the locations that the CPU is reading from or writing to.
address capacity= 2 Address may be multiplexed with data bus.
CONTROL BUS:
The control bus camies the signals relating to the control and coordination of the various
activities across the computer, which can be set from the control unit within the CPU. It is used
to process data and various operations are performed by microprocessor with the help of control
bus. This is a dedicated bus, because all timing signals are generated
according to control signal.
Some control signals are Read, Write and Opcode fetch etc.
Minimum Mode:-
DEN
DTR
L fransceiver
(2)
MOLD Conbrol
RLDA Bus
NTR
1. Clock Generator
2. 8086 CPU
3. 3 address latches
4. 2 transceivers
The address/data pins and address/status pins along with ALE and BHE are connected to
the address latches. Since the device can handle 20 bit address, 3 address latches are connected
together. This address latiches demultiplex the address from the address/data pins and
address/status pins and sends the address to the address bus.
The remaining data is send to the transceiver. The data control signals DEN and DT/R are
connected with the transceiver. So the data can be sent through the data bus. All other minimum
mode signals are conmected to the control bus.
The status of
memory, read and write signals decides the type of data transfer.
M/IO RD WR OPERATION
0
VOREAD
0 VO WRITE
0 Memory Read
Memory Write
ADDSTATUS w
BHA SS
Bus reserved
ADD/DATTA
for datain DKT
RD
DEN
The Address Latch Enable (ALE) pin goes high to initiatea bus cycle.
10
with DEN
and DT/R should be stable
Derore the trailing edge of ALE, BHE, M/IO, DEN
and DT/R input or DT/R
=
1 for output.
l =
0 for an
During T2 State:
received from
data is
in $3 to S7 and
ddress Is dropped and status is received RD signal is
the tranceiver.
BHE/S7 and DEN are made low to enable
address/data pins,
activated low during T2 state.
During T3 State:
there is no wait
data transfer immediately,
It the memory or 10 interface that perform
T3 state.
state and the data can be put on the bus during
During T4 State:
RD is raised to 1 at the beginning of
When the input data is accepted by the processor,
the memory or 10
device will drop its data signal.
T4, and upon detecting this transition,
ALE
Wwww.
DEN
DT/R
11
dependino
o r low g
made high
DHE is
initiate a
bus cycle,
to
high
ALE pin goes
bit data.
bit or 16 the cycle.
upon & throughout
remains low
and this to p r o c e s s o r .
DTR is low from memory
data p r o c e s s o r address
direction of used to latch the
the of ALE Is
It
indicates edge
bus. The falling
the address
Address is put in
from address bus.
put on the
statusline.This activity
RD and DEN status
During T3 State:
Data is put on
the data lines
During T4 State:
CLK
HOLD
tatn
ALDA
12
LOCAL BUSES
CPU DTR
MOWO A0VANCED VOW
WIA NIERRYPT
WAIT ACKNOWLEGE
www. wwwwwwmmmwm
5TATE
CENERAIOR
518
MECABYTE
ADCORESS BAS
ADADsAODRDAL LArCH
ww.
20A3
mmmummnammn
www. www.
ww OE wwwwwww
-34
DAA BLUS
RANSCENEA
www.ww ww
It instructs the memory to put the contents of addressed location on the data bus.
14
into t n
t nstructis an VO device to accept the data on the data bus and load the data
addressed port.
Ck
AL
ACVE ACU
MM
Add/Status. BHE, A A
Add/Data As
MRDC . w
DT/R A
DEN
During Ti1:
ALE is made high. BHE is made high/low depending upon 8 bit / 16 bit data
.DT/R goes low. Address is put on the address bus
and data is put on the data bus.
During T2:
15
MRDC goes high.
DEN goes low.
ADDSTATUS BHE
ADDDATA AA Dit out DD
****** A
AMWC o .
AIOWC
MWTCrIOWC
DT/R we.ww
DEN
During Ti:
During T2:
During T3:
Co-processor configuration
share.
and external processor(Math co processor)
In coprocessor both the CPU(8086)
VO system
Memory
Bus& control logic
Clock generator
Moitor the
8086 or 8088
ESC Wake up the
coprocessor
Deactivate the
Execute host's !TEST pin
8086 and execute the
instructions
specified operation
18
The 8086 fetches the instructions
instructions.
instruction sequence and captures its own
The co processor monitors the
simultaneously.
The ESC is decoded by the CPU and co processor
and the co processor captures
The CPU computes the 20 bit address of memory operand
bus to load or store as needed.
the address of the data and obtains control of the
The Communication between 8086 and independent processor is done through memory space
CLOCK
& 0 86
ndcpende rt
Pocessur
Memory /o
19
the CPU
through
everything
it does Two
control
ofthe bus, independently
take bus
cannot
control ofthe
Coprocessor
take
may
processor
Coupled
Closely
NOTE: coupled.
cannot be closely
8086's
8086/8083
Wa for
request
Set up
message
Fetch the
message
Wake up
ndependent processor Perform
with OUT instruetion requested
Notify
Execute CPU of
8086 completiona
instruction
20
when task is
task by using completed the external
status bit or processor informs the
interrupt request. 8086 about the
In
loosely coupled
LOOSELY COUPLED cONFIGURATION completion of
a
configurationa number of modules
common system
bus to work
of 8086
Each CPU has its as a
3. Independent method
21
Laosely coupled configuration using 8086:
Lace
Lon
meoY
deviens
wwww wwwMM
Loca
Loca bu cr
B067
PO
Sy she
Loca Euy
* * * * * *
eortre
Cosa'
dkprecaascs
1.Daisy Chaining:
In daisy chaining method all masters make use of the same line for making bus
To respond to a bus request signal the controller sends out bus request.
grant signal if the bus busy
signal is inactive. The grant signal serially propagates through each master until it
encounters the first one that is Tequesting access to the bus.
This module blocks the
propagation of the bus grant signal, activates the busy line and gains control of the bus.
Therefore any other requesting module will not receive the
grant signal and the priority is
determined by the physical locations of the modules. The one located closest to the
controller has the highest priority.
22
low cost.
Advantage: The Daisy chaining method is characterized by its simplicity and
Disadvantage:
Failure of any one master causes the whole system to fail and arbitration is slow due to
the propagation delay of bus grant signal. This delay is proportional to the number of
modules and therefore a daisy chaining system is limited to only a few modules.
BGR T
Bus BRQ
Controller
BBSY
2. POLLING METHOD
The polling method uses a set of lines sufficient to address each module. In
response to bus
request, the controller generates a sequence of module addresses. Whena
recognizes its address, it activates the busy line and begins to use the bus. requesting
module
Advantage:-Priority can be dynamically changed by altering the polling sequences stored in the
controller.
Master 1 Master 2
Master N
Bus Acce*
Bws Aeces Bs Accem
L.ang
Bus
Controller
TTT
Rotating
Encoder BRO
to N BASY
23
3 . I N D E P E N D E N TR E Q U E S T I N GM E T H O D
ww.wwwm
ww.M6MAM8MAMN N
w w w
...mmmMuao
Mww
wedMe
www
pair of
has a separate
module
fashion.
Each The
controller
parallel to it.
assigned
priority in
a
resolves has a priority and r e t u r n s
scheme
each pair priority
nis lines and highest
with the
and bus grant request
bus request selects the
which
decoder,
ncludes a priority
bus grant signal.
the corresponding
in the system.
Advantage
of the
number of modules
independent
Arbitration is
Fast and is
Fastest method.
Independent request
design is the
and bus grant lines.
more bus request
Itrequires
LOOSELY COUPLED
Disadvantage:-
TIGHTLY COUPLED
AND
DIFFERENCE BETWEEN
MULTIPROCESSOR
LOOSELY COUPLED
TIGHTLY COUPLED
multiprocessor system
multiprocessor systems ()Loosely-coupled are baesd on
(1)Tightly-coupled
are connected at (often referred to as clusters)
CPUs that standalone single or dual processor
standalone processor
contain multiple access to mutiple
nuie
These CPUs may have interconnected via a
the bus level.
UMA), or odny computers
a central
shared memory (SMP
or
high speed communication system.
in a memory hierarchy
with
may participate
24
both local and shared
memory (NUMA).
(2)Tighdy-coupled systems perform better
are physically smaller than &| (2)
System. loosely-coupled thanLoosely coupled
tightly coupled system physically larger
is
system.
(3) More expensive.
(4) In a (3) Less expensive.
tightly-coupled
system, the delay
Experienced,
from one
when a
message is sent 4) In a
loosely-coupled system, the opposite
computer another is short,
and data rate
to is true: The inter-machine
is high; that
of bits per second is, the number large and the data rate is low. message delay is
that can be
is large. transferred
(5) For example, two
CPU
printed circuit board chips
and
on the same
(5) For example, two
he board areconnected by a 2400 bit/sec modem
wires ctched onto computers connected by
tightly Coupled. likely to be over the
system are certain to be telephone
loosely coupled.
(6) Tightly-coupled systems tend to be much
more energy efñcient than (6)
because considerable clusters. This is that loosely-coupled systems use
realized by economies can
were
be for use in not neccessarily intended components
specifically
designing components to work
together from the beginning
such systems.
Systems. in tighily-coupled
CO PROCESSOR
NUMERIC DATA PROCESSOR (8087)
8087 is a
Multiprocessor
system consists of
coprocessor which has been processors and coprocessors. The numeric
processor 8086. specially designed to work under processor
the control of the
Features of 8087:
3. It
can operate on data of the
from 2 to 10
bytes. inieger, decimal, and real
2. Its
instruction
types, with lengths ranging
set not
aiso only includes various forms
So on
provides many useful fiunctions such as of
addition and
square root, subtraction, but
3 t is
high exponential, tangent, and
numbers in períormance numeric data
about 27 us and processor. It can multiply
A. it follows calculate square root in about two 64-bit real
IEEE 36 us.
. t is muitibus floating point standard.
compatible.
25