Introduction to Sequential Logic; Latches
Tom Kelliher, CS 220
Mar. 27, 2006
Read 6-3.
Assignment due in one week. The Xilinx problems aren't that easy and
there's not enough of me to go around if you all wait until the last
minute.
Finished Xilinx introduction lab.
- 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
2006-03-17
Tom Kelliher