COA Chapter 5
COA Chapter 5
Processing Unit
1
3/21/2023
2
3/21/2023
3
3/21/2023
4
3/21/2023
5
3/21/2023
6
3/21/2023
1. Memory address [PC], Read memory, IR Memory data, 1. Memory address [PC], Read memory, IR Memory data,
PC [PC] 4 PC [PC] 4
2. Decode instruction 2. Decode instruction, RA [R5], RB [R6]
3. PC [PC] Branch offset 3. Compare [RA] to [RB],
If [RA] = [RB], then PC [PC] Branch offset
4. No action
4. No action
5. No action
5. No action
7
3/21/2023
1. Memory address [PC], Read memory, IR Memory data, • Select multiplexer inputs to guide the flow of data.
PC [PC] 4
• Set the function performed by the ALU.
2. Decode instruction, RA [R9]
• Determine when data are written into the PC, the IR,
3. PC-Temp [PC], PC [RA] the register file, and the memory.
4. RY [PC-Temp] • Inter-stage registers are always enabled because
their contents are only relevant in the cycles for which
5. Register LINK [RY]
the stages connected to the register outputs are active.
8
3/21/2023
9
3/21/2023
10
3/21/2023
11
3/21/2023
12