FIT1047 Final: Constructing a CPU

50 views1 pages
Constructing a CPU
Saturday, 26 May 2018
4:44 PM
Arithmetic Logic Unit (ALU)
Combinational Circuit
MARIE
o Addition of 2 numbers (Add and Add I)
o Subtraction of 2 numbers (Subt and Subt I)
o Incrementing a number by 1 (Incrementing PC register)
o Testing if number is less than, greater than or equal to 0 (Skipcond)
Two n-bit data inputs required
Register File
Collects all the registers into a single circuit, and it enables the CU to select one of the registers
for reading and another one for writing at any one time.
One n-bit data
Control Unit
Main task is fetch-decode-execute cycle
Keeps track of time through clocks and cycle counters
Clocks and Cycle counters
Usual measure of time in a CPU is a clock cycle, as determined by the system clock, which
generates an oscillating signal
Special wire in CPU continuously changes from 0 to 1 and back to 0 within a fixed frequency
find more resources at oneclass.com
find more resources at oneclass.com
Unlock document

This preview shows half of the first page of the document.
Unlock all 1 pages and 3 million more documents.

Already have an account? Log in

Document Summary

Arithmetic logic unit (alu: combinational circuit, marie, addition of 2 numbers (add and add i, subtraction of 2 numbers (subt and subt i) Incrementing a number by 1 (incrementing pc register: testing if number is less than, greater than or equal to 0 (skipcond, two n-bit data inputs required. Register file: collects all the registers into a single circuit, and it enables the cu to select one of the registers for reading and another one for writing at any one time, one n-bit data. Control unit: main task is fetch-decode-execute cycle, keeps track of time through clocks and cycle counters. Clocks and cycle counters: usual measure of time in a cpu is a clock cycle, as determined by the system clock, which generates an oscillating signal.