Module 4: Sequential Logic Flashcards

1
Q

RS-Latch

A

bistable circuit (meaning it can happily exist in either of two states) with the ability to “store” its last output

Called a latch because 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 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” to synchronize information windows across our CPU

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

D flip flop (DFF)

A

an “edge-triggered” device that stores data at the edge of the clock. the DFF takes a clock input (often denoted with a 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; FF 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

A

Computation model that can be implemented with hardware or software and used to simulate sequential logic and some computer programs; sometimes called a “finite-state automaton”

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 or permanently like ROM

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

RAM

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

A

non volatile memory used in computers and other electronic devices to store data permanently; typically used 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

From latches to flip flops

A

for a d-latch, windows of time to store/read information are equal:

  • when the WE is 1, d-latch is open, Q follows D
  • when the WE is 0, d-latch is closed, data is stored and read-only
  • we prepare what we wish to store right before the latch closes

for a DFF, the window of time for writing is shorter but we have more time to read:

  • we can only store data in the DFF when the clock transitions from 0 to 1 (note: negative edge FFs also exist)
  • otherwise, the dff is closed and we can only read from it
  • we prepare what we wish to store right before the positive edge of the clock
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Clock frequency and period

A
  • the number of cycles per second is the clock frequency measured in cycles per second or “Hertz (Hz)”
  • the clock period refers to the duration of one clock cycle; the period and frequency are inversely related
  • example clock frequency: 2.5 GHz = 2.5 x 10^9 Hz
  • –corresponding clock period = 1/(2.5 x 10^9) - .4 x 10-9 seco
  • –or 4 nanoseconds
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Finite State Machine (FSM)

A
  • a machine that can be build using combinational and sequential logic
  • the machine can only be in a finite number of states
  • a CPU is a complicated example of an FSM
  • –a toaster is an example of an FSM with two basic states (off and on)
  • –most electronic machines are examples of FSMs
  • FSMs consist of 3 basic parts:
  • -an n-bit register which stores the state of the machine
  • -a block of logic that computes the next state as a function of the current state and any inputs
  • -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
15
Q

RAM

A

Static RAM (SRAM): 6 transistors per bit
–fast
–maintains the data as long as power is applied
Dynamic Ram (DRAM): 1 transistor per bit
–denser but slower
–relies of “capacitance” to store data
–needs constant refreshing of data to hold charge on capacitor

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

Hierarchy of Memory in Computer

A
  1. CPU
  2. CACHE
  3. Main Memory
  4. Disks (permanent storage)