central processing unit (CPU)
the electronic circuitry within a computer that carries out the instructions of a computer program by performing the basic arithmetic, logic, controlling, and input/output operations specified by those instructions; also called a central processor or main processor
program counter (PC)
register in a computer processor that contains the address (location) of the instruction being executed at the current time
ALU
combinational digital electronic circuit that performs arithmetic and logical operations
Datapath
pathway that the data flows through in a CPU; set up by control signals specified by an instruction to the CPU
Register file
contains small amount of data our processor operates on
Control memory
holds control signals for our processor; essentially holds the “program” we want our CPU to execute
TEST box
allows us to alter the value of the PC by testing what comes out of the ALU for a particular condition
von Neumann model
computer architecture based on a 1945 description by mathematician/physicist John von Neumann and others
4 pieces:
von Neumann loop
4 steps:
–repeat loop
Building a CPU
4 main pieces:
CPU as a finite state machine
FSM consists of 3 basic parts:
NZP Tester
Two internal parts to the TEST component