







Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!








1
General Purpose Registers
C bus A bus^ B bus
All three buses are “Internal processor buses”
To External CPU Bus
The register file must have 2 read ports and one write port Docsity.com
2
Step RTL
T0 MAR←PC; MBR ← M[MAR], PC ← PC + 4;
T2 R[ra] ← R[rb] - R[rc];
Structural RTL for the sub instruction
using the 3-bus data path implementation
Instruction Fetch
Instruction Execute
At the end of each sequence, the timing step generator is initialized to T
cannot use edge-triggered FFs to implement MAR as done before
4
Step (^) RTL for ld
T2 MAR ←((rb=0):0,(rb!=0):R[rb]+ (16αIR<16> ©IR<15..0>), MBR←M[MAR] T3 R[ra] ←MBR
Structural RTL for the ld instruction
5
7
Behavioral RTL for SRC Reset
The modified RTL after adding the
reset capability is
8
Structural RTL for SRC Reset
Following modifications are required to add the
reset operation to the structural RTL for SRC
counter
10
Example: The sub instruction with RESET processing
Step RTN Control Sequence
TO !Rst:(MA ← PC,C ← PC+4),
Rst:(Rst ← 0,PC ← 0,T ← 0)
!Rst:(PC (^) out’ LMAR, INC4, LC (^) ’ MRead), Rst:(ClrPC, Goto0);
T1 !Rst:(MD ← M[MA]:PC ← C),
Rst:(Rst ← 0:PC ← 0:T ← 0)
!Rst:(C (^) out’ LPC (^) ’ Wait), Rst ←(ClrPC, Goto0);
T2 !Rst:(IR ← MD),
Rst:(Rst ← 0: PC ← 0:T ← 0)
!Rst:(MBR (^) out’ LIR), Rst ← (ClrPC, Goto0);
T3 !Rst:(A ← R[rb]),
Rst:(Rst ← 0: PC ← 0: T ← 0)
!Rst:(RBE, R2BUS, LA), Rst : (ClrPC, Goto0);
T4 !Rst:(C ← A + R[rc]),
Rst:(Rst ← 0: PC ← 0:T ← 0)
!Rst:(RCE, R2BUS, ADD, LC), Rst :(ClrPC, Goto0);
T5 !Rst:(R[ra] ← C),
Rst:(Rst ← 0:PC ← 0: T ← 0)
!Rst:(LC’ RAE, BUS2R’ End), Rst :(ClrPC, Goto0);
Reset the control Step counter
11
13