Docsity

Sequential Logic Memory Elements, Latches and Flip Flops (2)-Digital Logic Design-Lab Assignment, Exercises of Digital Logic Design and Programming

Partial preview of the text

Download Sequential Logic Memory Elements, Latches and Flip Flops (2)-Digital Logic Design-Lab Assignment and more Exercises Digital Logic Design and Programming in PDF only on Docsity!

Department of Electrical Engineering

Faculty

Member:____________________

Dated: ________________

Semester:_____________ Section: ________________

EE-241: Digital Logic Design

Lab07: Sequential Logic Memory Elements: Latches and Flip-

Flops

Name Reg. No. Report

Marks / 10

Viva

Marks / 5

Total/

Lab12: Sequential Logic Memory Elements: Latches and Flip-Flops

Please Note that all your written and practical work will be evaluated by the Teaching Assistant / Instructor

A. Pre-Lab Tasks (Have to be completed before coming to Lab)

  1. Differentiate between the Combinational and Sequential Circuit.(0.5 Mark)
  2. Differentiate between the Synchronous Sequential Logic and Asynchronous Sequential Logic. (0.5 Marks)
  3. The essential elements of Sequential Logic are memory elements. The two basic types of memory elements are Latches and Flip-Flops. What is the basic Difference between them? (0.5 Marks)
  4. Give the SR Latch Logic Diagram using NOR Gates. Also give the function table. (0.5 Marks)

This Lab Activity has been designed to familiarize the student with the working and

construction of Memory Elements: Latches and D Flip-Flops.

 The first thing to know is the working of S.R. Latch and how it can be constructed using

NOR and NAND Gates

 Modifying the SR Latch circuit to Transparent(D-Latch)

 Next you will design a D-type positive edge-triggered Flip-Flop using S.R. Latches.

 Next you will add preset and reset functionality to your Flip-Flop design

 There are related questions at the end of this activity. Give complete answers.

Use diagrams if needed for clarity.

B. Lab Task

SR Latch:

1. Implement the SR Latch using i) NOR and ii) NAND gates and show it to Lab

Instructor. Give Logic Diagram and Function Table. What is the difference between

the two implementations? (3 Marks)

D-Latch:

2. Implement the D-Latch and show it to your Lab Instructor. Give Logic Diagram and

Function Table. What advantage does it have over SR Latch? (3 Marks)

Flip-Flop:

  1. Implement a D-type positive edge-triggered Flip-Flop using S.R. Latches and show it to Lab instructor. What gates would you need for the implementation? Give Logic Diagram, Graphic Symbols and Characteristic Table. What change would be needed to design a negative edge triggered Flip-Flop? (3 Marks)

Flip-Flop with Preset and Clear:

  1. Flip-Flops are essentially the synchronous elements, but they can also have asynchronous inputs that can be used to force the flip-flops to change their state independent of the clock. The input that sets the flip-flop to 1 is called preset or direct set. The input that clears the flip- flop to 0 is called the clear or direct reset. Modify your D Flip-Flop design to include both these inputs. What could be the benefit of having these two inputs? (3 Marks)
  2. Look for the D Flip-Flop IC available in the lab. Download its datasheet and show its working to the Lab Instructor. Give its PIN Configuration and Function Table. Compare the working of IC to your design. (1.5 Marks)