# D latch symbol clk d q q two inputs clk d clk

• Notes
• ProfessorResolvePartridge10091
• 28

This preview shows pages 16–23. Sign up to view the full content.

D Latch Symbol CLK D Q Q Two inputs: CLK , D CLK : controls when the output changes D (the data input): controls what the output changes to Function When CLK = 1, D passes through to Q (the latch is transparent ) When CLK = 0, Q holds its previous value (the latch is opaque ) Avoids invalid case when Q ≠ NOT Q 16

This preview has intentionally blurred sections. Sign up to view the full version.

D Latch Internal Circuit S R Q Q Q Q D CLK D R S CLK D Q Q S R Q Q CLK D 0 X 1 0 1 1 D 17
D Latch Internal Circuit S R Q Q Q Q D CLK D R S CLK D Q Q S R Q 0 0 Q prev 0 1 0 1 0 1 Q 1 0 CLK D 0 X 1 0 1 1 D X 1 0 Q prev 18

This preview has intentionally blurred sections. Sign up to view the full version.

D Flip-Flop Two inputs: CLK , D Function The flip-flop “samples” D on the rising edge of CLK When CLK rises from 0 to 1, D passes through to Q Otherwise, Q holds its previous value Q changes only on the rising edge of CLK A flip-flop is called an edge-triggered device because it is activated on the clock edge D Flip-Flop Symbols D Q Q 19
D Flip-Flop Internal Circuit CLK CLK Q Q D N1 CLK Two back-to-back latches (L1 and L2) controlled by complementary clocks When CLK = 0 L1 is transparent, L2 is opaque D passes through to N1 When CLK = 1 L2 is transparent, L1 is opaque N1 passes through to Q Thus, on the edge of the clock (when CLK rises from 0 1 ) D passes through to Q D Q Q D Q Q L1 L2 20

This preview has intentionally blurred sections. Sign up to view the full version.

D Flip-Flop vs. D Latch CLK D Q Q D Q Q CLK D Q (latch) Q (flop) 21
D Flip-Flop vs. D Latch CLK D Q Q D Q Q CLK D Q (latch) Q (flop) 22

This preview has intentionally blurred sections. Sign up to view the full version.

This is the end of the preview. Sign up to access the rest of the document.
• Fall '06
• Rosing
• Logic gate, CLK, Flip-flops, Flip-flop, Latch, Qprev

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern