Presentation is loading. Please wait.

Presentation is loading. Please wait.

Storing Control A L U We need a memory to store control

Similar presentations


Presentation on theme: "Storing Control A L U We need a memory to store control"— Presentation transcript:

1 Storing Control A L U We need a memory to store control
This memory has its own address Inst memory address can be loaded Inst memory address can be incremented Inst Mem Addr WAD IAD Control Mem Unit WM EM Addr RM WAD A L U OpCode Reg File WA WR RA2 RA1 Input EI Output WOUT EALU M- EMR LDM S H I F T SC

2 Exercising Control A L U Control sequences are stored in mmeory
In each clock cycle, one step is executed Sometime the address needs to be modified It uses state of the program Inst Mem Addr WAD IAD Control Mem Unit WM EM Addr RM WAD A L U OpCode Reg File WA WR RA2 RA1 Input EI Output WOUT EALU M- EMR LDM S H I F T SC

3 Condition Code A L U ALU generate status bits like
carry, overflow, sign, and zero zero=1 means result from ALU is zero These bits can be used to change flow of program A new address is generated using CCs Inst Mem Addr WAD IAD Control Mem Unit WM EM Addr RM WAD A L U OpCode Reg File WA WR RA2 RA1 Input EI Output WOUT EALU M- EMR LDM S H I F T SC Cond Code


Download ppt "Storing Control A L U We need a memory to store control"

Similar presentations


Ads by Google