Next Address Logic: Expensive and Fast Solution
Using a 30-bit PC:
Sequential operation: PCត:2> = PCត:2> + 1
Branch operation: PCត:2> = PCត:2> + 1 + SignExt[Imm16]
In either case: Instruction-Memory-Address = PCត:2> concat “00”
30
30
SignExt
30
16
imm16
“1”
30
30
Branch
Zero
Addrត:2>
Instruction
Memory
Addrə:0>
“00”
32
Instructionត:0>
Instruction:0>
30
Previous slide
Next slide
Back to first slide
View graphic version