









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!










General purpose registers
(32-bits each)
32 lines
2. A Unibus Data Path Implementation
Other ALSU
Timing Step Generator
Waveforms
Eight mutually exclusive time steps
Timing Step Generator
Waveforms
Step RTL
T0 MAR PC, C PC + 4;
T3 A R[rb];
T4 C A - R[rc];
T5 R[ra] C;
Structural RTL for the sub instruction
Instruction Fetch
Instruction
Execute
At the end of each sequence, the timing step generator is initialized to T
General purpose registers
(32-bits each)
32 lines
A Unibus Data Path Implementation
Other ALSU
General purpose registers
(32-bits each)
32 lines
A Unibus Data Path Implementation
Other ALSU
Step RTL T0-T2 Instruction fetch
T3 A R[rb];
T4 C A + R[rc];
T5 R[ra] C;
Structural RTL for the add instruction
Step RTL
T0-T2 Instruction fetch
T3 A R[rb];
T4 C A + c2(sign extend);
T5 R[ra] C;
Structural RTL for the addi instruction
Sign extension for 17-bit c2 is the same as : (15αIR<16> ©IR<16..0>)
Sign extension for 22-bit c1 is the same as : (10αIR<21> ©IR<21..0>)
Step RTL for Id RTL for st
T0-T2 Instruction fetch Instruction fetch T3 A ((rb = 0) : 0, (rb ≠ 0): R[rb]); A ((rb = 0): 0, (rb ≠ 0): R[rb]);
T4 C A + (15αIR<16> ©IR<16..0>); C A + (15αIR<16> ©IR<16..0>);
T6 MBR M[MAR]; MBR R [ra];
T7 R[ra] MBR; M[MAR] MBR;
RTL for the ld and st instructions
sign extension
ld and st are the same up to step T