Professional Documents
Culture Documents
IB SB BC DB
Instruction decoders
OP
TY
NA
IRE IRF
Execution Unit
BITS Pilani, Pilani Campus
OP
TY
NA
OP : Control Fields fields of bits decoded to drive control lines in execution unit.
To personalize the control word -The tasks become bits in the control fields (OP) -The next state becomes the control store address select (TY) and next address (NA) - The state ID becomes the location of the control word in a control store
Execution Unit Instruction Decoders Control word format Control word decoders Controller block diagram
Instruction Decoders
-MIN Processor uses two instruction decoders -One decoder points to the first control word in address mode sequence
Instruction Decoders
-IB instruction decoder points to the first control word sequence in the next instruction sequence -The last state in any address mode sequence shows SB in the next state block -SB instruction decoder points to the first control word in execution sequence
-Instruction with no address mode sequence IB points to first control word in execution sequence
BITS Pilani, Pilani Campus
Example instruction execution Instruction Control word sequence Next control word address IB Instruction Decoder SB Instruction Decoder
POP
popr1
popr2 brzz3
popr2
brzz3 brzz2 abdm2 abdm3 abdm4 oprm2 brzz3 brzz2 oprr1
BITS Pilani, Pilani Campus
brzz2 ADD RX (RY+d)@ abdm1 abdm2 abdm3 abdm4 oprm1 oprm2 brzz3 brzz2
abdm1
Instruction
IB Instruction Decoder
SB Instruction Decoder
SUB RX, RY
adrm1 adrm1
test1 test1
TEST RY @
ldrm2 push1
PUSH
BITS Pilani, Pilani Campus
IB Decoder Address Abdm1 Adrm1 Brzz1 Ldrr1 Strr1 Oprr1 Popr1 Push1 SB Decoder Address Ldrm1 Strm1 Oprm1 Test1
Instructions or Address mode (RY +d)@ RY@ BZ LR STR AR, SR, NR POP PUSH Instructions or Address mode L ST A, S, N T execution sequences address mode sequence
execution sequences
Control word format OP field contains fields for the execution unit TY and NA fields for the next state address
AO
PC
T2
REGS T1
ALU
DI
DO
IRE
IRF
PC control
Different uses off PC pc a a pc b pc none pc a alu pc a rx
A-Bus
PC
0 0 1 none b pc
1 pc a
B-Bus
x
BITS Pilani, Pilani Campus
T2 control
Different uses off T2 t2 a t2 b a t2 b t2 none
A-Bus
t2a.t2b
T2
t2b.t2a
t2a.t2b
0 o 1 none b t2
1 t2 a t2 b
B-Bus
REG CONTROL
ry a b rx ry b; b rx rx a rx b, b ry rx a, ry b b ry b rx; a ry rx a, b ry none
r3a
r3b
OP
RX
MODE
RY
AO
PC
T2
REGS
T1
MPX
n- 2 n decoder r a r / (b r ) ra rb
BITS Pilani, Pilani Campus
OP AO PC T2 REGS T1
RX
MODE
RY
n- 2 n decoder
ry a ry / (b ry )
ry a ry b Control word reg Control field decoder
BITS Pilani, Pilani Campus
n- 2 n decoder
to A to B
Control lines
ry a b rx; rx b rx; rx ; ry b rx a
rx b; b ry
rx b; ry ;b ry
Control lines
rx a; ry b b ry b rx; a ry rx a; b ry none
00 00 none
01 b rx
11
10
rx a
rx a b ry
ry a
rx b b ry b ry ry a ry
01 11
b ry b rx a ry b rx ry b b rx rx
10
rx a ry b rx a
BITS Pilani, Pilani Campus
0100
BITS Pilani, Pilani Campus
1101
BITS Pilani, Pilani Campus
Control Lines rx a ry a rx b
Decoder patterns
ry b
10xx
BITS Pilani, Pilani Campus
Control Lines rx ry a ry b rx
Decoder patterns
b ry
01xx
BITS Pilani, Pilani Campus
0111
rx a
xx11
ry b ry
x1xx
01xx
rx b ry, t2
from strr1
0110
0110
ry b ry
x1xx
01xx
BITS Pilani, Pilani Campus