Combinational Logic Design

Similar documents
FUNCTIONS OF COMBINATIONAL LOGIC

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

1. True/False Questions (10 x 1p each = 10p) (a) I forgot to write down my name and student ID number.

R13 SET - 1 '' ''' '' ' '''' Code No: RT21053

PHYSICS 5620 LAB 9 Basic Digital Circuits and Flip-Flops

R13. II B. Tech I Semester Regular Examinations, Jan DIGITAL LOGIC DESIGN (Com. to CSE, IT) PART-A

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

Experiment (6) 2- to 4 Decoder. Figure 8.1 Block Diagram of 2-to-4 Decoder 0 X X

Chapter 8 Functions of Combinational Logic

Minnesota State College Southeast

Half-Adders. Ch.5 Summary. Chapter 5. Thomas L. Floyd

1. Convert the decimal number to binary, octal, and hexadecimal.

ECE Lab 5. MSI Circuits - Four-Bit Adder/Subtractor with Decimal Output

NAND/NOR Implementation of Logic Functions

CS302 Digital Logic Design Solved Objective Midterm Papers For Preparation of Midterm Exam

TIME SCHEDULE. MODULE TOPICS PERIODS 1 Number system & Boolean algebra 17 Test I 1 2 Logic families &Combinational logic

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.

Midterm Exam 15 points total. March 28, 2011

CSE221- Logic Design, Spring 2003

PURBANCHAL UNIVERSITY

EXPERIMENT: 1. Graphic Symbol: OR: The output of OR gate is true when one of the inputs A and B or both the inputs are true.

Code No: A R09 Set No. 2

MODULE 3. Combinational & Sequential logic

Advanced Devices. Registers Counters Multiplexers Decoders Adders. CSC258 Lecture Slides Steve Engels, 2006 Slide 1 of 20

Principles of Computer Architecture. Appendix A: Digital Logic

Chapter Contents. Appendix A: Digital Logic. Some Definitions

TYPICAL QUESTIONS & ANSWERS

Lab #10 Hexadecimal-to-Seven-Segment Decoder, 4-bit Adder-Subtractor and Shift Register. Fall 2017

Digital Circuits I and II Nov. 17, 1999

ENGG2410: Digital Design Lab 5: Modular Designs and Hierarchy Using VHDL

EECS 270 Midterm 2 Exam Closed book portion Fall 2014

Computer Architecture and Organization

NORTHWESTERN UNIVERSITY TECHNOLOGICAL INSTITUTE

Tribhuvan University Institute of Science and Technology Bachelor of Science in Computer Science and Information Technology

CHAPTER 4 RESULTS & DISCUSSION

Department of Computer Science and Engineering Question Bank- Even Semester:

Department of Electrical Engineering University of Hail Ha il - Saudi Arabia

North Shore Community College

Dev Bhoomi Institute Of Technology Department of Electronics and Communication Engineering PRACTICAL INSTRUCTION SHEET

CS 151 Final. Instructions: Student ID. (Last Name) (First Name) Signature

211: Computer Architecture Summer 2016

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

DIGITAL CIRCUIT LOGIC UNIT 9: MULTIPLEXERS, DECODERS, AND PROGRAMMABLE LOGIC DEVICES

MODULAR DIGITAL ELECTRONICS TRAINING SYSTEM

Engineering College. Electrical Engineering Department. Digital Electronics Lab

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

MODEL QUESTIONS WITH ANSWERS THIRD SEMESTER B.TECH DEGREE EXAMINATION DECEMBER CS 203: Switching Theory and Logic Design. Time: 3 Hrs Marks: 100

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

ME 515 Mechatronics. Introduction to Digital Electronics

Department of CSIT. Class: B.SC Semester: II Year: 2013 Paper Title: Introduction to logics of Computer Max Marks: 30


Chapter 6 Registers and Counters

St. MARTIN S ENGINEERING COLLEGE

Digital Logic. ECE 206, Fall 2001: Lab 1. Learning Objectives. The Logic Simulator

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

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

WINTER 15 EXAMINATION Model Answer

EXPERIMENT 13 ITERATIVE CIRCUITS

Registers and Counters

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

DIGITAL SYSTEM DESIGN UNIT I (2 MARKS)

Lab #12: 4-Bit Arithmetic Logic Unit (ALU)

Course Plan. Course Articulation Matrix: Mapping of Course Outcomes (COs) with Program Outcomes (POs) PSO-1 PSO-2

SIGNETICS INTEGRATED CIRCUITS Low Power Schottky TTL 54LS00-74LS00 Series. Supply Current/typmA Delay/typns Quad 2-Input NAND Gate 54LS00/C,D

Encoders and Decoders: Details and Design Issues

Chapter 4: Table of Contents. Decoders

BCN1043. By Dr. Mritha Ramalingam. Faculty of Computer Systems & Software Engineering

EECS 270 Midterm 1 Exam Closed book portion Winter 2017

The word digital implies information in computers is represented by variables that take a limited number of discrete values.

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

EECS 270 Group Homework 4 Due Friday. June half credit if turned in by June

12-bit Wallace Tree Multiplier CMPEN 411 Final Report Matthew Poremba 5/1/2009

EEE130 Digital Electronics I Lecture #1_2. Dr. Shahrel A. Suandi

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad ELECTRICAL AND ELECTRONICS ENGINEERING

problem maximum score 1 28pts 2 10pts 3 10pts 4 15pts 5 14pts 6 12pts 7 11pts total 100pts

Logic and Computer Design Fundamentals. Chapter 7. Registers and Counters

Department of Electrical and Computer Engineering Mid-Term Examination Winter 2012

Theory Lecture Day Topic Practical Day. Week. number systems and their inter-conversion Decimal, Binary. 3rd. 1st. 1st

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

EE 210. LOGIC DESIGN LAB.

Digital Principles and Design

CS6201 UNIT I PART-A. Develop or build the following Boolean function with NAND gate F(x,y,z)=(1,2,3,5,7).

THE KENYA POLYTECHNIC

QUICK GUIDE COMPUTER LOGICAL ORGANIZATION - OVERVIEW

Semester III. Subject Name: Digital Electronics. Subject Code: 09CT0301. Diploma Branches in which this subject is offered: Computer Engineering

SEMESTER ONE EXAMINATIONS 2002

List of the CMOS 4000 series Dual tri-input NOR Gate and Inverter Quad 2-input NOR gate Dual 4-input NOR gate

Bachelor Level/ First Year/ Second Semester/ Science Full Marks: 60 Computer Science and Information Technology (CSc. 151) Pass Marks: 24

TRAINING KITS ON DIGITAL ELECTRONIC EXPERIMENTS. Verify Truth table for TTL IC s AND, NOT, & NAND GATES

The Nexys 4 Number Cruncher. Electrical and Computer Engineering Department

For Teacher's Use Only Q Total No. Marks. Q No Q No Q No

Registers and Counters

Subject : EE6301 DIGITAL LOGIC CIRCUITS

UNIT 1: DIGITAL LOGICAL CIRCUITS What is Digital Computer? OR Explain the block diagram of digital computers.

BHARATHIDASAN ENGINEERING COLLEGE, NATTRAMPALLI DEPARTMENT OF ECE

Where Are We Now? e.g., ADD $S0 $S1 $S2?? Computed by digital circuit. CSCI 402: Computer Architectures. Some basics of Logic Design (Appendix B)

[2 credit course- 3 hours per week]

DIGITAL ELECTRONICS & it0203 Semester 3

EECS 270 Final Exam Spring 2012

Nirma University Institute of Technology. Electronics and Communication Engineering Department. Course Policy

Transcription:

Lab #2 Combinational Logic Design Objective: To introduce the design of some fundamental combinational logic building blocks. Preparation: Read the following experiment and complete the circuits where required. Review sign-2 s complement representations. Obtain the data sheets for each of the TTL devices below and bring a copy to your lab session. Devices used: sn74ls00 2-input NAND sn74ls86 Quad 2-input XOR sn74ls10 Triple 3-input NAND sn74ls138 3-to-8 line decoder sn74ls20 Dual 4-input NAND sn74ls283 4-bit binary adder sn74ls47 BCD to 7-segment converter Experiment: 1. A multiplexer is a combinational circuit that selects binary information from one of several input sources and logically directs it to a single output channel. Complete the drawing of the circuit shown below to implement a single 4:1 MUX with inputs D 0..D 3, select lines S 0,S 1 and output Y. Build the circuit and verify its function table.

2. The n-bit binary decoder generates an output corresponding to each of the 2 n minterms of the input. Complete the drawing of the circuit shown below to implement a 2-to-4 line decoder with inputs S 0,S 1, LO-true outputs D 0..D 3 and a single LO-true enable. Build the circuit and verify its function table. 3. Using switches for select and enable inputs and LEDs as outputs, verify the truth table for the 74138 3-to-8-line decoder. Carefully note its operation with regard to the enable inputs and the polarity of the outputs. 4. If the outputs of a decoder are considered as rows of a matrix and the column lines are provided by the inputs to NAND gates as shown in the figure below, we can view the generation of any logic functions F 1 and F 2 as a programming task. The programming is implemented as connections at the row/column intersections. Both F 1 and F 2 can be the summation of any 4 of the minterms of the input XYZ. Note that the number of outputs is restricted only by the number of NAND gates (two in this example) and that the number of minterms which may be summed is determined by the number of inputs to each NAND (four in this example).

Draw the truth table for a full adder, and program this circuit such that the output F 1 represents the sum S and output F 2 represents the carry C. Mark every intersection where there is a connection with an "X". Build the circuit and verify its operation. 5. An n-bit binary adder can be constructed as a chain of n full adders connected internally by the carry from one stage to the next. The input carry to the first full adder in the chain is C 0 and the output from the final stage is C n. Since the input to C 0 has to propagate through all stages of the adder before it affects the output carry C n, this device is sometimes called a ripple carry adder. This has the undesirable characteristic that the add time increases with n. A better way is to form the sum and carry out as a logical combination of all the inputs to produce a fast parallel addition. An example is the sn74ls283 which is a 4-bit parallel adder with internal carry look-ahead logic. Using switches and LEDs, verify the operation of the 283 device and complete the table below showing the decimal equivalent for the sum output Σ in both unsigned and sign-2 s complement. C0 A B Σ 0 0000 0000 0 0000 0011 0 0011 0000 1 0011 0000 0 0111 1000 1 0111 1000 0 1000 1000 0 0011 1111 0 0111 1111 0 1001 1111 0 1111 1111 1 1111 1111 Decimal Equivalent if Σ is unsigned Decimal Equivalent if Σ is 2 s comp C4 Using the digital scope, devise a way to measure the propagation delay from application of a C0 input to the appearance of a C4 output. Measured Propagation delay of Carry : Propagation delay from spec sheets: Min: Max:

6. The parallel adder may be used in the following circuit to add or subtract 4-bit numbers under control of input S. When S=0, the output is A + B. When S=1, the output is A - B. Explain why this is so. Construct this circuit and verify its proper operation. The adder/subtractor may be used to take the 2 s complement of an input number B by setting A=0000 and S=1. Try this for several values. In the last circuit, we use this feature to take the 2 s complement of a number if it is negative in order to provide input to a display. Note: Leave this circuit connected; it will be used in the last part of this lab.

7. Seven-segment displays are ubiquitous. Each segment can be activated by pulling its corresponding output LO. One way of driving the display is by way of an sn74ls47 BCD to 7- segment converter which contains the proper current-limiting capability. Connect the circuit as shown below and verify its proper operation for all 16 input combinations. Note that only BCD digits 0 to 9 produce a valid display. Note: Never connect the inputs of the display directly to ground or +5v. This will permanently damage the display! Note: Leave this circuit connected; it will be used later in this lab. 8. Now, connect the output of the adder/subtractor circuit in part 6 to the BCD inputs of the circuit of part 7. Set A = 0000, S = B 3 and test the circuit. The display should show the absolute value of the sign-2 s complement input set on B.