Introduction to Sequential Logic; Latches
Tom Kelliher, CS 220
Oct. 27, 2003
Read 4-3.
First four homework problems will be due Monday. Remaining two after,
following lab tutorials.
Finished introduction to VHDL. See course web page for VHDL code.
- Sequential logic.
- SR latch.
- D latch.
Flip-flops
- Combinational logic is nice but...
- Sequential logic: introduces notion of memory.
- Synchronous vs. asynchronous circuits.
There will always be some asynchronous elements in a circuit which interfaces
to the real world environment.
- Clock: frequency, period, edges, duty-cycle.
Non-overlapping clocks.
- How can we achieve memory?
This is the basic idea, to be modified for actual use.
- General model of a sequential circuit:
- Active low inputs.
- Schematic:
- Operation: three valid, one invalid input.
- Asynchronous.
- Schematic:
Behavior.
- Transparent when clock is high.
Latched when clock is low.
- Problem with use in circuits: double clocking.
A solution: non-overlapping clocks. (Achieved with master-slave
flip-flops.)
- SR latches inconvenient when storing data from, say, an ALU.
- D latch stores data directly:
(Think of this as a logic primitive.)
Thomas P. Kelliher
Mon Oct 27 10:00:28 EST 2003
Tom Kelliher