Exam 2 Flashcards

1
Q

What is a combinational circuit?

A

A circuit that depends only on the inputs for the result

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

What is a sequential circuit?

A

A circuit that depends on both the inputs and the previous result to get the result

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

What do the R and S inputs do in an SR latch?

A

S is Set and R is Reset

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

How does the D latch circuit work?

A

Controls when and how the latch can be/is updated; CLK controls when a latch is updated and D controls how a latch is updated

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

What is problematic about the SR latch?

A

Doesn’t differentiate between what and when something should happen

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

How does the D flip-flop work?

A

First latch acts as an airlock. Q is only updated on rising clock edges; state no longer updates continuously when CLK is enabled

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

What is an enabled flip-flop?

A

Flip-flop that can be turned on or off; gives us control over whether or not the flip-flop is updated on the clock pulse.

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

What is the role of registers on the CPU?

A

Registers hold commonly used operands

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

What is a computer’s “word size”?

A

bit size of each instruction

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

What is the word size for MIPS?

A

32 bits

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

How does a computer’s word size affect its design?

A

affects the max size of data the computer can address and process at once

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

What 4 circuit elements hold state in a MIPS single-cyle CPU?

A

Program Counter, Instruction Register, Register File, Data Memory

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

Describe the Program Counter

A

32 bit register that specifies the current instruction address and holds memory address of the next instruction

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

Describe the Instruction Memory

A

Stores the current program

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

Describe the Register File

A

Interface to the 32, 32 bit registers

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

Describe the Data Memory

A

Interface to generic memory that stores variables used by programs