Organisasi dan Arsitektur Komputer Ajeng Savitri Puspaningrum, M.Kom Pertemuan 7
Control Unit ( CU )
Explaining Cus element Explaining the HCU and MCU
Structure - The CPU Computer Arithmetic and Login Unit Control Unit Internal CPU Interconnection Registers CPU I/O Memory System Bus CPU
CU - Function Controls sequential instruction execution Interprets instructions Guides data flow through different computer areas Regulates and controls processor timing Sends and receives control signals from other computer devices Handles multiple tasks, such as fetching, decoding, execution handling and storing results
Structure - The Control Unit CPU Control Memory Control Unit Registers and Decoders Sequencing Logi c Control Unit ALU Registers Internal Bus Control Unit
CU - Component Sequential logic : a type of logic circuit whose output depends not only on the present value of its input signals but on the past history of its inputs Control Unit Registers and Decoders : register where to place and translate instructions that can be understood by the CPU Control Memory : component where programs or microprograms , that can move the sequencing process laying and translation of instructions , are placed
Control Signals Clock One micro-instruction (or set of parallel micro-instructions) per clock cycle Instruction register Op-code for current instruction Determines which micro-instructions are performed Flags State of CPU Results of previous operations From control bus Interrupts Acknowledgements
Control Signals - output Within CPU Cause data movement Activate specific functions Via control bus To memory To I/O modules
CU Design Hardwired control (HCU) Microprogram control (MCU)
Hardwired Control Design is based on a fixed architecture. The CU is made up of flip-flops, logic gates, digital circuits and encoder and decoder circuits that are wired in a specific and fixed way. When instruction set changes are required, wiring and circuit changes must be made.
Microprogram control Microprograms are stored in a special control memory and are based on flowcharts. They are replaceable and ideal because of their simplicity.
HCU vs MCU
Refference Stalling, William, Computer Organization and Architecture, 10th Edition, Pearson, 2015 Abdurohman, Maman, Organisasi dan Arsitektur Komputer revisi ke-4, Penerbit Informatika, 2017
Terima Kasih a [email protected] https://teknokrat.ac.id/en/ https://spada.teknokrat.ac.id/