Midterm 2 - Chapter 4 Terms Flashcards

1
Q

Define ALU

A

Arithmetic Logic Unit - The device that performs the arithmetic operations like addition and subtraction or logical operations like AND and OR. (8)

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

Define BUS

A

Collection of data lines that is treated together as a single logical signal; also a shared collection of lines with multiple sources and uses. (11)

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

What are Multiplexers?

A

a selector, since its output is one of the inputs that is selected by a control. (12)

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

What are the Logic Design Basics?

A
  • Information encoded in binary
  • Combinational element
  • State sequential elements (15)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is clocking methodology?

A

Combinational logic transforms data during clock cycles. (20)

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

What does a datapath consist of?

A
  • registers
  • ALUs
  • mux’s
  • memories
  • Elements that process data and addresses in the CPU * (21)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is op?

A

It is an operation code or opcode that selects a specific operation. (24)

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

What is rs and rt?

A

First and second source registers (24)

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

What is rd?

A

destination register (24)

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

What is shamt?

A

“shift amount” used only for shift instructions (24)

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

What is func?

A

It is used together with op to select and arithmetic instruction. (24)

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

R-Format Instructions

A
  • Read two register operands
  • Perform arithmetic/logical operation
  • Write register result (25)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What do branch instructions do?

A
  • Read register operands
  • Compare operands
  • Calculate target address (29)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What does the Load instruction do?

A

Read memory and update register (26)

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

What does the Store instruction do?

A

Write register value to memory (26)

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

Five Stages of MIPS Pipeline are _______.

A
  • IF: Instruction fetch from memory
  • ID: Instruction decode & register read
  • EX: Execute operation or calculate address
  • MEM: Access memory operand
  • WB: Write result back to register (43)
17
Q

What is speed up?

A

1 / (1 - instruction count change) * (cycle time without / cycle time with)