EGC221: Digital Logic Lab

Similar documents
XI STANDARD [ COMPUTER SCIENCE ] 5 MARKS STUDY MATERIAL.

Experiment 7: Magnitude comparators

Additional Gates COE 202. Digital Logic Design. Dr. Muhamed Mudawar King Fahd University of Petroleum and Minerals

Foundations of Computation

Gates and Flip-Flops

XOR - XNOR Gates. The graphic symbol and truth table of XOR gate is shown in the figure.

Chapter 2 Combinational Logic Circuits

NAND, NOR and XOR functions properties

Digital Logic. Lecture 5 - Chapter 2. Outline. Other Logic Gates and their uses. Other Logic Operations. CS 2420 Husain Gholoom - lecturer Page 1

Boolean algebra. Examples of these individual laws of Boolean, rules and theorems for Boolean algebra are given in the following table.

Computer organization

Mealy & Moore Machines

CSE 311: Foundations of Computing. Lecture 3: Digital Circuits & Equivalence

Cs302 Quiz for MID TERM Exam Solved

Fundamentals of Digital Design

Number System. Decimal to binary Binary to Decimal Binary to octal Binary to hexadecimal Hexadecimal to binary Octal to binary

New Students Day Activity

Combinational Logic. By : Ali Mustafa

Digital Logic (2) Boolean Algebra

EECS150 - Digital Design Lecture 4 - Boolean Algebra I (Representations of Combinational Logic Circuits)

Circuits & Boolean algebra.

MC9211 Computer Organization

Chapter 2. Boolean Algebra and Logic Gates

Total Time = 90 Minutes, Total Marks = 50. Total /50 /10 /18

Boolean Algebra & Digital Logic

Logic Gates and Boolean Algebra

CprE 281: Digital Logic

CprE 281: Digital Logic

Chapter 2 Combinational Logic Circuits

DEPARTMENT OF ECE Faculty of Engineering and Technology, SRM University 15EC203J DIGITAL SYSTEMS LAB

Unit 8A Computer Organization. Boolean Logic and Gates

LOGIC GATES A Y=A+B. Logic symbol of OR gate B The Boolean expression of OR gate is Y = A + B, read as Y equals A 'OR' B.

EE40 Lec 15. Logic Synthesis and Sequential Logic Circuits

Floating Point Representation and Digital Logic. Lecture 11 CS301

Chapter 2 (Lect 2) Canonical and Standard Forms. Standard Form. Other Logic Operators Logic Gates. Sum of Minterms Product of Maxterms

4 Switching Algebra 4.1 Axioms; Signals and Switching Algebra

Outline. EECS150 - Digital Design Lecture 4 - Boolean Algebra I (Representations of Combinational Logic Circuits) Combinational Logic (CL) Defined

In Module 3, we have learned about Exclusive OR (XOR) gate. Boolean Expression AB + A B = Y also A B = Y. Logic Gate. Truth table

Boolean Logic Prof. James L. Frankel Harvard University. Version of 3:20 PM 29-Aug-2017 Copyright 2017, 2016 James L. Frankel. All rights reserved.

Chapter 1: Logic systems

Computer Organization: Boolean Logic

Implementation of Boolean Logic by Digital Circuits

CprE 281: Digital Logic

to become literate in most common concepts and terminology of digital electronics

CHAPTER 3 LOGIC GATES & BOOLEAN ALGEBRA

ENGR4300 Fall 2005 Test 3A. Name. Section. Question 1 (25 points) Question 2 (25 points) Question 3 (25 points) Question 4 (25 points)

Lecture 22 Chapters 3 Logic Circuits Part 1

Boolean Algebra and Digital Logic 2009, University of Colombo School of Computing

Boolean Algebra and Logic Gates

Learning Objectives 10/7/2010. CE 411 Digital System Design. Fundamental of Logic Design. Review the basic concepts of logic circuits. Dr.

Review: Additional Boolean operations

Logic Design. Chapter 2: Introduction to Logic Circuits

Boolean Algebra & Logic Gates. By : Ali Mustafa

Having read this workbook you should be able to: design a logic circuit from its Boolean equation or truth table.

ECE/CS 250: Computer Architecture. Basics of Logic Design: Boolean Algebra, Logic Gates. Benjamin Lee

Chapter 2 Boolean Algebra and Logic Gates

Chapter 2. Digital Logic Basics

CHAPTER1: Digital Logic Circuits Combination Circuits

Combinational logic systems

Chapter 2: Princess Sumaya Univ. Computer Engineering Dept.

3. Complete the following table of equivalent values. Use binary numbers with a sign bit and 7 bits for the value

. T SHREE MAHAPRABHU PUBLIC SCHOOL & COLLEGE NOTES FOR BOARD EXAMINATION SUBJECT COMPUTER SCIENCE (Code: 083) Boolean Algebra

COSC 243. Introduction to Logic And Combinatorial Logic. Lecture 4 - Introduction to Logic and Combinatorial Logic. COSC 243 (Computer Architecture)

EEE130 Digital Electronics I Lecture #4

University of Toronto Faculty of Applied Science and Engineering Edward S. Rogers Sr. Department of Electrical and Computer Engineering

L4: Karnaugh diagrams, two-, and multi-level minimization. Elena Dubrova KTH / ICT / ES

1 Boolean Algebra Simplification

Lecture 2 Review on Digital Logic (Part 1)

CS61c: Representations of Combinational Logic Circuits

Digital Fundamentals

Exam for Physics 4051, October 31, 2008

Logic Gate Level. Part 2

BOOLEAN ALGEBRA INTRODUCTION SUBSETS

LOGIC GATES. Basic Experiment and Design of Electronics. Ho Kyung Kim, Ph.D.

Digital Design 2. Logic Gates and Boolean Algebra

Chapter 2: Switching Algebra and Logic Circuits

Simulation of Logic Primitives and Dynamic D-latch with Verilog-XL

Switches: basic element of physical implementations

CSE 20 DISCRETE MATH. Fall

Introduction to Computer Engineering ECE 203

Chapter 3 Combinational Logic Design

Logic Gates - Introduction

Lecture 7: Logic design. Combinational logic circuits

Digital Electronics H H

ECE 342 Electronic Circuits. Lecture 34 CMOS Logic

School of Computer Science and Electrical Engineering 28/05/01. Digital Circuits. Lecture 14. ENG1030 Electrical Physics and Electronics

ECE/CS 250 Computer Architecture

Section:3 ISE A & BMax Marks: 50 Subject & code: Logic Design (10CS33) Name of faculty:mrs Deepti C Date: SOLUTIONS

Digital electronic systems are designed to process voltage signals which change quickly between two levels. Low time.

UNIVERSITI TENAGA NASIONAL. College of Information Technology

Combinational Logic. Course Instructor Mohammed Abdul kader

DESIGN AND IMPLEMENTATION OF ENCODERS AND DECODERS. To design and implement encoders and decoders using logic gates.

Projects about Quantum adder circuits Final examination June 2018 Quirk Simulator

UC Berkeley College of Engineering, EECS Department CS61C: Representations of Combinational Logic Circuits

CMSC 313 Lecture 16 Announcement: no office hours today. Good-bye Assembly Language Programming Overview of second half on Digital Logic DigSim Demo

CprE 281: Digital Logic

CS 121 Digital Logic Design. Chapter 2. Teacher Assistant. Hanin Abdulrahman

Chapter 2: Boolean Algebra and Logic Gates

Electrical Circuits. Winchester College Physics. makptb. c D. Common Time man. 3rd year Revision Test

Boolean Algebra. Philipp Koehn. 9 September 2016

Transcription:

Division of Engineering Programs EGC221: Digital Logic Lab Experiment #1 Basic Logic Gate Simulation Student s Name: Student s Name: Reg. no.: Reg. no.: Semester: Fall 2016 Date: 07 September 2016 Assessment: Assessment Point Weight Grade Methodology and correctness of results Discussion of results Attendance and participation Assessment Points Grade: Comments:

Experiment #1: Basic Logic Gates Objectives: The objectives of this experiment are to: 1. Introduce students to the tools, facilities and components needed for the experiments in digital electronics, 2. Relate voltage levels and electrical connections to digital logic levels, and 3. Verify the operation of the basic logic gates. Discussion: Digital electronic circuits are built using logic gates. Each logic gate implements a logic function such as the NOT (also known as the inverter), the AND, the OR and the Exclusive OR (also known as the EX-OR gate). In some cases the output of a gate is internally inverted. The AND gate with the output inverted is called the NAND gate. The OR gate with the output inverted is called the NOR gate. The EX-OR gate with the output inverted is called the EX-NOR gate. (i) NOT AND OR EX-OR NAND NOR (ii) A A A A A A X X X X X X B B B B B (iii) X = A X = A B X = A + B X = A + B X = A B X = A + B (iv) A X A B X A B X A B X 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 A B X A B X 0 0 1 0 1 0 1 1 Figure 1. Basic Logic Gates. Figure 1 shows the basic logic gates. Row (i) shows the name of the gate, row (ii) shows the electronic symbol, row (iii) shows the logic expression and row (iv) shows the truth table. A truth table is a table showing all possible values at the inputs of a digital circuit and the corresponding value of the output. Procedure: Use Logisim to solve the following exercises. Division of Engineering Programs Page 2 of 12

(a) Download and Run Logisim and place the AND gate component by clicking on the corresponding gate icon as shown in Figure 2. Also change the number of inputs to 2. Figure 2. Logisim: Placing an AND Gate. (b) Place 2 inputs and 1 output, as shown in Figure 3. Figure 3. Logisim: Placing Inputs and Outputs. Division of Engineering Programs Page 3 of 12

(c) Click on the Arrow and Place Wires, as shown in Figure 4. Figure 4. Logisim: Placing Wires. (d) Add Labels by first clicking on an entity, followed by filling in the label field, as shown in figure 5. Figure 5. Logisim: Placing Labels. Division of Engineering Programs Page 4 of 12

(e) Click on the Hand and use it modify the input values by clicking on the corresponding input. Fill in and verify the AND truth table by going through the states, as shown in Figure 6. Figure 6. Logisim: Verifying the AND gate through Simulation. Table 1. AND Truth Table. A B A AND B 0 0 1 1 Division of Engineering Programs Page 5 of 12

(f) In LOGISIM place the OR gate circuit (with I/O) and verify its operation through Simulation. Complete Figure 7 and Table 2. [Insert Logisim circuit here] Figure 7. OR Gate Circuit. Table 2. OR Truth Table. A B A OR B 0 0 1 1 Division of Engineering Programs Page 6 of 12

(g) In LOGISIM place the NOT gate circuit (with I/O) and verify its operation through Simulation. Complete Figure 8 and Table 3. [Insert Logisim circuit here] Figure 8. NOT Gate Circuit. Table 3. NOT Truth Table. A NOT A 0 1 Division of Engineering Programs Page 7 of 12

(h) In LOGISIM place the XOR gate circuit (with I/O) and verify its operation through Simulation. Complete Figure 9 and Table 4. [Insert Logisim circuit here] Figure 9. XOR Gate Circuit. Table 4. XOR Truth Table. A B A XOR B 0 0 1 1 Division of Engineering Programs Page 8 of 12

(i) In LOGISIM place the NAND gate circuit (with I/O) and verify its operation through Simulation. Complete Figure 10 and Table 5. [Insert Logisim circuit here] Figure 10. NAND Gate Circuit. Table 5. NAND Truth Table. A B A NAND B 0 0 1 1 Division of Engineering Programs Page 9 of 12

(j) In LOGISIM place the NOR gate circuit (with I/O) and verify its operation through Simulation. Complete Figure 11 and Table 6. [Insert Logisim circuit here] Figure 11. NOR Gate Circuit. Table 6. NOR Truth Table. A B A NOR B 0 0 1 1 Division of Engineering Programs Page 10 of 12

(k) In LOGISIM place the XNOR gate circuit (with I/O) and verify its operation through Simulation. Complete Figure 12 and Table 7. [Insert Logisim circuit here] Figure 12. XNOR Gate Circuit. Table 7. XNOR Truth Table. A B A XNOR B 0 0 1 1 Division of Engineering Programs Page 11 of 12

Conclusions (discussion of results): Division of Engineering Programs Page 12 of 12