week 4 Sequential Logic Flashcards

1
Q

RS latch

A

bistable circuit, meaning it can happily exist in either of 2 stable states, with the ability to store its last output.

latch- it can latch onto incoming data.

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

D-latch

A

enables input on a gated S-R latch provides a way to latch the Q and not Q outputs without regard to the status of S or R.

we can eliminate one of those inputs to create a multivibrator latch circuit with no “illegal” input states.

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

Timing diagram

A

a type of truth table for sequential logic gates

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

Clock

A
  • acts as the heartbeat of our system, creating windows of time to write or read to/from our storage devices
  • acts like a conductor to synchronize information windows across our CPU.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

The D Flip Flop (DFF)

A
  • an edge-triggered device that stores data at the edge of the clock.
  • takes a clock input (often denoted with triangle)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Latch vs Flip-flop

A

Latch is level sensitive and flip flop is edge-sensitive

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

Registers

A

collection of latches or flip-flops controlled by a common WE (or CLK)

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

Finite-state machine (or Finite state automation)

A

computation model that can be implemented with hardware or software and used to simulate sequential logic and some computer program.

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

Computer memory

A

Physical devices capable of storing information temporarily like RAM (random access memory) or permanently like ROM (read only memory)

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

RAM (Random access memory)

A

by specifying address, one can read or write to any drawer in the memory at random.

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

ROM (read-only memory)

A

non-volatile memory used in computers and other electronic devices to store data permanently. use to hold a small program or setting that a computer might rely on for startup.

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

What is the hierarchy of Memory in a computer

A
  1. CPU
  2. Cache
  3. Main memory
  4. Disks (permanent storage)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Finite state machine (FSM)

A

A machine that can be built using combinational and sequential logic gates.

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

what is a toaster?

A

an example of an FSM with 2 basic states (off and on/warming)

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

What are 3 basic parts in FSMs?

A
  1. An n bit register which stores the state of the machine
  2. a block of logic that computes the next state as a function of the current state and any inputs.
  3. a block of logic that computes the output based on the current state.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

what happens to the D-latch when the WE is set to high?

A

D latch is open.

Q follows D

17
Q

what happens to the D-latch when the WE is set to low?

A

D latch is closed. Data is stored and read only

18
Q

The difference between windows of time to store and read information with D-latch and DFF

A

D latch:

  1. windows of time to store and read information are equal
  2. WE = high, d latch opens up. As a result, Q follows D
  3. WE = low, d latch is closed. Data is stored and read only.

DFF:

  1. window of time for storage is shorter but more time to read.
  2. able to store data when the clock transitions from 0 to 1.
  3. otherwise, DFF is closed and can only read from it.
  4. we prepare what we wish to store right before the positive edge of the clock.