Module 5: Datapath Flashcards

1
Q

central processing unit (CPU)

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

program counter (PC)

A

register in a computer processor that contains the address (location) of the instruction being executed at the current time

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

ALU

A

combinational digital electronic circuit that performs arithmetic and logical operations

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Datapath

A

pathway that the data flows through in a CPU; set up by control signals specified by an instruction to the CPU

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Register file

A

contains small amount of data our processor operates on

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Control memory

A

holds control signals for our processor; essentially holds the “program” we want our CPU to execute

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

TEST box

A

allows us to alter the value of the PC by testing what comes out of the ALU for a particular condition

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

von Neumann model

A

computer architecture based on a 1945 description by mathematician/physicist John von Neumann and others

4 pieces:

  1. processing unit (ALU + register file)
    - -performs all calculations (“overworked clerk”)
  2. Memory (for instructions and data memory)
  3. Control unit (contains PC)
    - -Serves as index into program memory to indicate which instruction must be carried out by the processing unit
  4. Input/Output
    - -provides a means for information to be loaded into or read from the internals of the machine
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

von Neumann loop

A

4 steps:

  1. Fetch instructions from program memory
  2. Decode instruction from program memory
  3. Execute instruction in ALU (commit data to register file if needed)
  4. Update program counter

–repeat loop

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Building a CPU

A

4 main pieces:

  1. memory
  2. data and instructions
  3. PC
  4. ALU
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

CPU as a finite state machine

A

FSM consists of 3 basic parts:

  1. an n-bit register which stores the state of the machine
    - -in our CPU this would be the memory
  2. block of logic that computes the next state as a function of the current state and any inputs
    - -in our CPU this would eb the adder/subtractor (input = control memory)
  3. block of logic which computes the output based on the current state
    - -not yet in the CPU (but we will have it soon!)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

NZP Tester

A

Two internal parts to the TEST component

  1. determine if incoming # is negative/zero/positive
  2. compare incoming condition from user to output of part 1
How well did you know this?
1
Not at all
2
3
4
5
Perfectly