RS-Latch
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
D-Latch
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
Timing Diagram
a type of truth table for sequential logic gates
Clock
acts as the heartbeat of our system, creating “windows” to synchronize information windows across our CPU
D flip flop (DFF)
an “edge-triggered” device that stores data at the edge of the clock. the DFF takes a clock input (often denoted with a triangle)
Latch vs. Flip Flop
latch is “level” sensitive; FF is “edge” sensitive
Registers
collection of latches or flip-flops controlled by a common WE or CLK
Finite State Machine
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”
computer memory
physical devices capable of storing information temporarily like RAM or permanently like ROM
RAM
by specifying address, one can read or write to any “drawer” in the memory at random
ROM
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
From latches to flip flops
for a d-latch, windows of time to store/read information are equal:
for a DFF, the window of time for writing is shorter but we have more time to read:
Clock frequency and period
Finite State Machine (FSM)
RAM
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
Hierarchy of Memory in Computer