Digital Circuits I and II Nov. 17, 1999

Similar documents
Timing Pulses. Important element of laboratory electronics. Pulses can control logical sequences with precise timing.

Introduction. NAND Gate Latch. Digital Logic Design 1 FLIP-FLOP. Digital Logic Design 1

DIGITAL CIRCUIT COMBINATORIAL LOGIC

Chapter 4: One-Shots, Counters, and Clocks

Chapter 5 Flip-Flops and Related Devices

MODULAR DIGITAL ELECTRONICS TRAINING SYSTEM

TYPICAL QUESTIONS & ANSWERS

PHYSICS 5620 LAB 9 Basic Digital Circuits and Flip-Flops

Logic Gates, Timers, Flip-Flops & Counters. Subhasish Chandra Assistant Professor Department of Physics Institute of Forensic Science, Nagpur

Laboratory 1 - Introduction to Digital Electronics and Lab Equipment (Logic Analyzers, Digital Oscilloscope, and FPGA-based Labkit)

successive approximation register (SAR) Q digital estimate

WINTER 15 EXAMINATION Model Answer

PHY 351/651 LABORATORY 9 Digital Electronics The Basics

Today 3/8/11 Lecture 8 Sequential Logic, Clocks, and Displays

PRE J. Figure 25.1a J-K flip-flop with Asynchronous Preset and Clear inputs

REPEAT EXAMINATIONS 2002

YEDITEPE UNIVERSITY DEPARTMENT OF COMPUTER ENGINEERING. EXPERIMENT VIII: FLIP-FLOPS, COUNTERS 2014 Fall

Notes on Digital Circuits

CSE 352 Laboratory Assignment 3

CHAPTER 1 LATCHES & FLIP-FLOPS

Digital Networks and Systems Laboratory 2 Basic Digital Building Blocks Time 4 hours

EECS 140 Laboratory Exercise 7 PLD Programming

16 Stage Bi-Directional LED Sequencer

MUHAMMAD NAEEM LATIF MCS 3 RD SEMESTER KHANEWAL

DIGITAL ELECTRONICS: LOGIC AND CLOCKS

RS flip-flop using NOR gate

EXPERIMENT #6 DIGITAL BASICS

Chapter 6. Flip-Flops and Simple Flip-Flop Applications

Logic. Andrew Mark Allen March 4, 2012

DepartmentofElectronicEngineering NEDUniversity ofengineering &Technology LABORATORY WORKBOOK DIGITAL LOGIC DESIGN (TC-201)

EKT 121/4 ELEKTRONIK DIGIT 1

AIM: To study and verify the truth table of logic gates

SEQUENTIAL LOGIC. Satish Chandra Assistant Professor Department of Physics P P N College, Kanpur

Operating Manual Ver.1.1

Combinational vs Sequential

1. a) For the circuit shown in figure 1.1, draw a truth table showing the output Q for all combinations of inputs A, B and C. [4] Figure 1.

The University of Texas at Dallas Department of Computer Science CS 4141: Digital Systems Lab

Notes on Digital Circuits

University of Victoria. Department of Electrical and Computer Engineering. CENG 290 Digital Design I Lab Manual

Asynchronous (Ripple) Counters

SEMESTER ONE EXAMINATIONS 2002

Rangkaian Sekuensial. Flip-flop

Sequential Logic Basics

OFC & VLSI SIMULATION LAB MANUAL

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified) WINTER 2018 EXAMINATION MODEL ANSWER

Assignment 2b. ASSIGNMENT 2b. due at the start of class, Wednesday Sept 25.

RS flip-flop using NOR gate

FLIP-FLOPS AND RELATED DEVICES

Module -5 Sequential Logic Design

MODU LE DAY. Class-A, B, AB and C amplifiers - basic concepts, power, efficiency Basic concepts of Feedback and Oscillation. Day 1

Microcontrollers and Interfacing week 7 exercises

INTRODUCTION (EE2499_Introduction.doc revised 1/1/18)

Logic Design Viva Question Bank Compiled By Channveer Patil

PHYS 3322 Modern Laboratory Methods I Digital Devices

WINTER 14 EXAMINATION

EE 367 Lab Part 1: Sequential Logic

ECE 2274 Pre-Lab for Experiment Timer Chip

DIGITAL SYSTEM FUNDAMENTALS (ECE421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE422) COUNTERS

Flip-Flops and Related Devices. Wen-Hung Liao, Ph.D. 4/11/2001

Rensselaer Polytechnic Institute Computer Hardware Design ECSE Report. Lab Three Xilinx Richards Controller and Logic Analyzer Laboratory

Chapter 3: Sequential Logic Systems

Digital Fundamentals: A Systems Approach

Laboratory 10. Required Components: Objectives. Introduction. Digital Circuits - Logic and Latching (modified from lab text by Alciatore)

Design and Simulation of a Digital CMOS Synchronous 4-bit Up-Counter with Set and Reset

Experiment # 9. Clock generator circuits & Counters. Digital Design LAB

Multiplexor (aka MUX) An example, yet VERY useful circuit!

Sequential Digital Design. Laboratory Manual. Experiment #7. Counters

Sequential Digital Design. Laboratory Manual. Experiment #3. Flip Flop Storage Elements

Find the equivalent decimal value for the given value Other number system to decimal ( Sample)

Counters

DIGITAL ELECTRONICS LAB MANUAL FOR 2/4 B.Tech (ECE) COURSE CODE: EC-252

North Shore Community College

Topics of Discussion

CHAPTER 4 RESULTS & DISCUSSION

EET 1131 Lab #10 Latches and Flip-Flops

Combinational Logic Design

Logic Circuits. A gate is a circuit element that operates on a binary signal.

Physics 323. Experiment # 10 - Digital Circuits

Computer Systems Architecture

Name: Date: Suggested Reading Chapter 7, Digital Systems, Principals and Applications; Tocci

UNIT-3: SEQUENTIAL LOGIC CIRCUITS

Sri Vidya College of Engineering And Technology. Virudhunagar Department of Electrical and Electronics Engineering

Solution to Digital Logic )What is the magnitude comparator? Design a logic circuit for 4 bit magnitude comparator and explain it,

B. Sc. III Semester (Electronics) - ( ) Digital Electronics-II) BE-301 MODEL ANSWER (AS-2791)

DIGITAL ELECTRONICS MCQs

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science Introductory Digital Systems Laboratory

Flip-flops, like logic gates are defined by their truth table. Flip-flops are controlled by an external clock pulse. C

NORTHWESTERN UNIVERSITY TECHNOLOGICAL INSTITUTE

Minnesota State College Southeast

Laboratory 7. Lab 7. Digital Circuits - Logic and Latching

1 Hour Sample Test Papers: Sample Test Paper 1. Roll No.

CHAPTER 6 COUNTERS & REGISTERS

VU Mobile Powered by S NO Group

Logic Design. Flip Flops, Registers and Counters

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous)

Dr. Shahram Shirani COE2DI4 Midterm Test #2 Nov 19, 2008

PGT104 Digital Electronics. PGT104 Digital Electronics

Question Bank. Unit 1. Digital Principles, Digital Logic

Digital Fundamentals: A Systems Approach

DALHOUSIE UNIVERSITY Department of Electrical & Computer Engineering Digital Circuits - ECED 220. Experiment 4 - Latches and Flip-Flops

Transcription:

Physics 623 Digital Circuits I and II Nov. 17, 1999 Digital Circuits I 1 Purpose To introduce the basic principles of digital circuitry. To understand the small signal response of various gates and circuits typical of the currently available TTL integrated circuitry. 2 Discussion The circuits are TTL 7400 series of various types from various manufacturers. Use the built-in supply for V cc = +5 V DC. The logic levels are: One: 3 to 5.0 volts; nominally 4.75 V. Zero: 0 to 0.4 volts; nominally ground = 0 V. Switching Level 1.4 V. The delay in passing a signal through one NAND gate is typically 13 ns for the SN7400 series and is about 7 ns for the 74LS00 series. The fanout capability is 10, (i.e. ten inputs can be connected to each output). The operating temperature range is from about 0 C to 70 C. The general characteristics of TTL logic are described in the attached sheets together with the detailed specifications of individual chips. Every input of every logical unit you use must be connected to something. Check each input pin around the symbol on the data sheet and decide where it should be connected. They are not always indicated on the simplified logic diagrams. 1

3 Procedure 1. Verify the truth table for a two input NAND gate. A B Y 0 0 1 0 1 1 1 0 1 1 1 0 2. Use 2 input NAND gates to implement the logic values shown below. Use DeMorgan s theorem, if necessary. Use the switches and/or push buttons on your breadboard for inputs and the LED indicators to show the output states. (a) A 2 input AND gate. Y = A B (b) A 2 input exclusive OR Y = A B or equivalently Y = A B + Ā B (c) Show the circuit -(don t build) Y = (A B C) + D + E 3. Cross couple 2 NAND gates to make an RS flip-flop. Then add the gates to make a DATA flip-flop. Test its properties.. "1" RS Flip-Flop note: +5V. 1 means that this input should be held at the logical 1 level by connecting it to 2

4. Verify the truth table for a JK flip-flop, using the 74LS112. (The Clock is CP). The data sheet for the out-dated 7473 flip-flop is included for its superior functional block diagram. Study it and see how a JKFF works. J K Q n+1 0 0 Q n 0 1 0 1 0 1 1 1 Qn Here, J and K refer to the respective input levels when the n th clock is high, and Q n+1 refers to the output after clock returns from 1 to 0. These flip-flops have a set (SD) and a reset (RD) feature. Experiment with the SD and RD inputs to determine their effect. See waveforms on pg 4-168 of the 74LS112 data sheet. 5. Connect the 74LS112 JKFF s to make an 4 bit counter (0 to 15). To display the sequence of bits use the lights on the board. Don t forget to hook up all the inputs, even if they aren t shown on the functional logic diagram. L0 L1 L2 L3...... = "1".. 6. Make a ring oscillator. Use an odd number of gates. A signal is propagated around the loop with a speed depending on the delay of each gate and the number of gates. For 7 gates the period is about 50-150 nsec., depending on the type of gate. Check the frequency by looking at the output of any gate with the scope. Use your four bit counter to count the oscillations.. = "1".... 3

Digital Circuits II 4 Purpose To continue the study of the basic principles of digital circuitry. To understand the operation of various special purpose gates and circuits. 5 Discussion The circuits are logically TTL 74LS00 series from various manufacturers. A reminder that the logic levels are: One: 3 to 5.0 V; nominally 4.75 V. Zero: 0 to 0.4 V; nominally ground = 0 V. Switching Level 1.4 V. The delay in passing a signal through one NAND gate is typically 7-13 ns. However, depending on availability, you may be using a device which, although it has the same voltage and logic values as normal TTL, will differ in speed and input power required. For example Shottky TTL is distinguished by the LS notation and is significantly faster than the normal TTL. Some of the gates we are using in this lab are based on CMOS technology and are pin-for-pin compatible with TTL, denoted by the initials HCT preceding the chip number. The fanout capability is usually 10, (i.e. ten inputs can be connected to each output). The detailed specifications of the individual chips are described in the attached sheets. 6 Procedure 1. Study the behavior of the monostable multivibrator (oneshot). A dual oneshot has an id number 74LS221. Connect the circuit shown. Check the spec sheet for valid resistor and capacitor values! Arrange the two outputs so that they have the appropriate relative timing when triggered by a rising edge. Determine the output pulse width relative to the RC time constant of your external circuit. What changes would have to be made to trigger your circuit on the falling edge? What would the result be if you used the rising-edge trigger input (B) on the second one-shot? 4

1 ms Output 1 R2 Trigger. Output 2.3 ms time 2. Investigate the properties of the 8 bit serial-input parallel-output shift register (ID = 74HCT164). Connect the chip, then clock various numbers into the register using the switches. Use the eight LED s on the breadboard to show the states of the output. How does the Reset function work? Keep the circuit set up for the next exercise. 3. The 74LS283 is a four bit adder which performs the binary addition of one 4 bit number (A 1 to A 4 ) to another (B 1 to B 4 ), including a carry in bit (C 0 ), in order to produce a 4-bit sum (S 1 to S 4 ) plus a carry out (C 4 ). Use the shift register to generate both the input binary numbers, so that A 1 to A 4 correspond to Q E through Q H and B 1 to B 4 to Q A through Q D. For convenience it is useful to connect the input and output 4-bit numbers to a hex display using the TIL311 chip. Verify the addition. 4. Replace the adder with a four bit magnitude comparator (74LS85). Compare the two displayed numbers and verify all the outputs. Now experiment with the carry inputs to determine what values are required to function correctly. 5