week 5 datapath Flashcards

1
Q

Central Processing Unit (CPU)

A
  • the brain of the PC
  • 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.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Program counter (PC)

A

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 (Arithmetic Logic Unit)

A

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 upon.

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.

- 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

what contains in Von Neumann Model?

A

Computer architecture contains 4 pieces:

  1. Processing unit like ALU and register file
    - performs all of the 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

what is the von Neumann loop step to carry out an instruction?

A
  1. Fetch instruction from program memory
  2. decode instruction from program memory which determines the control signals
  3. execute instruction in ALU which commits data to register if needed.
  4. update program counter and repeat loop
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What you need to build a basic CPU

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

Components of NZP Tester

A
  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