Académique Documents
Professionnel Documents
Culture Documents
MAR 0000 0000 0110 0100 MAR 0000 0000 0110 0100
MDR MDR 0001 0000 0010 0000
PC 0000 0000 0110 0100 PC 0000 0000 0110 0100
IR IR
ACC ACC
MAR 0000 0000 0110 0100 MAR 0000 0000 0110 0100
MDR 0001 0000 0010 0000 MDR 0001 0000 0010 0000
PC 0000 0000 0110 0101 PC 0000 0000 0110 0101
IR IR 0001 0000 0010 0000
ACC ACC
R i
R i out
Y in
Constant 4
Select MUX
A B
ALU
Z in
Z out
Fetching a Word from Memory
Address into MAR; issue Read operation; data into MDR.
Memory-bus Internal processor
data lines MDRoutE MDRout bus
MDR
MDR
2 Zout PCin Yin WMFC
Y IR
3 MDRout IRin Constant 4
. . ..
Signals
ALU
. . ..
7 Zout R1in XOR
Rn-1
Z
Temp
PC
Register File
Mux
Constant
ALU
Multiple
-Bus
Organization IR
Instruction
Decoder
MDR
MAR
Memory Data
Memory Address
Lines
Lines
Internal processor
bus
Control signals
PC
Instruction
Address
decoder and
lines
MAR control logic
Memory
bus
MDR
Data
lines IR
Question
Y
Constant 4 R0
Select MUX
Add
A B
ALU Sub R n - 1
control ALU
lines
Carry -in
XOR TEMP
Hardwired Control
.
.
.
. External
. Inputs
. Decoder/
IR . Encoder
. Condition
.
.
. Codes
.
.
Control Signals
Clock Control Step
Counter
....
Step Decoder
T1 T2 Tn
...
Ins1
External Inputs
...
Ins2
Instruction
...
IR Encoder
...
Decoder
Insm Condition
...
Codes
...
Control Signals
Design Techniques
State Table Method : standard algorithmic
approach.
Delay Element Method : heuristic method
based on the use of clocked delay elements
for control signal timing.
Sequence Counter Method : uses counters
for timing purposes.
PLA Method : uses Programmable Logic
Arrays.
Multiplier Control Unit External Control Signals
Mn-1 .......... M1 M0 C0
Count C
C1
o
C2
Comparator n
0
t
.
. r
C6 C7
. Counter o
.
Cin . l
.
C5
. U
C0 C1
n-bit Adder C9
n
i
C10
C4 t
C8
Multiplier
C9
C3
C10 C0
IN BUS
OUT BUS
Control Signals for the 2complement multiplier
Control Signal Operation controlled
C0 Clear A, Q-1 and Count (n)
C1 Decrement count
C2 Transfer word on INBUS to M
C3 Transfer word on INBUS to Q
C4 Shift right A, Q & Q-1
C5 2s complement multiplicand
C6 Transfer A to left input of adder
C7 Transfer M to right input of adder
C8 Transfer adder output to A
C9 Transfer A to OUTBUS
C10 Transfer Q to OUTBUS
Accumulator based CPU with Control Points
Sequential Circuit
AR PC C2
IR
C0
C4 C5 C3
C1
Program Control Unit (PCU)
C8
System Bus
DR AC
C6
C7
C9
C10 Arithmetic & Logic Unit (ALU)
C11
C12