Introduction to Sequential Logic; Latches
Tom Kelliher, CS 240
Apr. 2, 2010
First Xilinx assignment; re-scheduled exam.
Read 5-3.
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
2010-04-01
Tom Kelliher