Digital Integrated Circuit Design Laboratory Department of Computer Science and Information Engineering National Cheng Kung University Experiment on digital.

Slides:



Advertisements
Similar presentations
Logic Gates.
Advertisements

ECE 238L Computer Logic Design Spring 2010
التصميم المنطقي Second Course
Gate-Level Minimization
Logic Gate Level Part 2. Constructing Boolean expression from truth table First method: write nonparenthesized OR of ANDs Each AND is a 1 in the result.
MULTI-LEVEL GATE NETWORKS
Gate-Level Minimization. Digital Circuits The Map Method The complexity of the digital logic gates the complexity of the algebraic expression.
Relationship Between Basic Operation of Boolean and Basic Logic Gate The basic construction of a logical circuit is gates Gate is an electronic circuit.
Section 10.3 Logic Gates.
Fundamental of Digital Logic (1)
Introduction Gate-level minimization refers to the design task of finding an optimal gate-level implementation of Boolean functions describing a digital.
Unit 8 Combinational Circuit Design and Simulation Using Gates Ku-Yaw Chang Assistant Professor, Department of Computer Science.
Part 2: DESIGN CIRCUIT. LOGIC CIRCUIT DESIGN x y z F F = x + y’z x y z F Truth Table Boolean Function.
ENGG 1203 Tutorial Combinational Logic (I) 1 Feb Learning Objectives
©2010 Cengage Learning SLIDES FOR CHAPTER 7 MULTI-LEVEL GATE CIRCUITS NAND AND NOR GATES This chapter in the book includes: Objectives Study Guide 7.1Multi-Level.
CS 105 Digital Logic Design
Unit 7 Multi-Level Gate Circuits / NAND and NOR Gates Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information.
Experiment 2 Questions 1. There are two methods that can be used to generate a complement function using a 2-input NAND gate. Draw a diagram detailing.
1 Why study Boolean Algebra? 4 It is highly desirable to find the simplest circuit implementation (logic) with the smallest number of gates or wires. We.
Morgan Kaufmann Publishers
F = ∑m(1,4,5,6,7) F = A’B’C+ (AB’C’+AB’C) + (ABC’+ABC) Use X’ + X = 1.
Computer Organization 1 Logic Gates and Adders. Propositions –Venn Diagrams.
Gate-Level Minimization Chapter 3. Digital Circuits The Map Method The complexity of the digital logic gates the complexity of the algebraic expression.
D IGITAL L OGIC D ESIGN I G ATE -L EVEL M INIMIZATION.
Digital Electronics Lecture 6 Combinational Logic Circuit Design.
Logic Gates Logic gates are electronic digital circuit perform logic functions. Commonly expected logic functions are already having the corresponding.
October 29, 2015 EASTERN MEDITERRANEAN UNIVERSITY1 Digital Logic Design I Gate-Level Minimization Mustafa Kemal Uyguroğlu.
Why? What’s Boolean algebra used for? –“The purpose of Boolean algebra is to facilitate the analysis and design of digital circuits.” Express a truth table.
LOGIC CIRCUIT IMPLEMENTATION
Logic Design CS221 1 st Term Logic-Circuit Implementation Cairo University Faculty of Computers and Information.
Gate-level Minimization
D IGITAL L OGIC D ESIGN I G ATE -L EVEL M INIMIZATION.
Chap 2. Combinational Logic Circuits. Chap Binary Logic and Gates l 디지털 회로 (Digital circuits) o hardware components that manipulate binary information.
ETE 204 – Digital Electronics
Chapter 3 Gate-level Minimization. 3-7 NAND and NOR Implementation Digital circuits are frequently constructed with NAND or NOR gates rather than with.
CHAPTER 7 MULTI-LEVEL GATE CIRCUITS / NAND AND NOR GATES
LOGIC GATES & BOOLEAN ALGEBRA
TUTORIAL CHAPTER 3 GATE_LEVEL MINIMIZATION PART 2 TA. Arwa Al Saad. 9 November 2013.
CS 1110 Digital Logic Design
1 EG 32 Digital Electronics Thought for the day You learn from your mistakes..... So make as many as you can and you will eventually know everything.
CS 121 Digital Logic Design Gate-Level Minimization Chapter 3.
1 BOOLEAN ALGEBRA Basic mathematics for the study of logic design is Boolean Algebra Basic laws of Boolean Algebra will be implemented as switching devices.
Chap 2. Combinational Logic Circuits
Digital Integrated Circuit Design Laboratory Department of Computer Science and Information EngineeringNational Cheng Kung University LAB - 02 陳培殷 國立成功大學.
Karnaugh Map and Circuit Design.
Experiment 2 Questions 1. There are two methods that can be used on generate a complement function using a 2-input NAND gate. Draw a diagram detailing.
CEC 220 Digital Circuit Design NAND/NOR Multi-Level Circuits
Module 7.  In Module 3 we have learned about NAND gate – it is a combination of AND operation followed by NOT operation  Symbol A. B = Y  Logic Gate.
Chapter 3 Digital Logic Structures
1 CS 352 Introduction to Logic Design Lecture 4 Ahmed Ezzat Multi-level Gate Circuits and Combinational Circuit Design Ch-7 + Ch-8.
Fuw-Yi Yang1 數位系統 Digital Systems Department of Computer Science and Information Engineering, Chaoyang University of Technology 朝陽科技大學資工系 Speaker: Fuw-Yi.
Speaker: Fuw-Yi Yang 楊伏夷 伏夷非征番, 道德經 察政章(Chapter 58) 伏者潛藏也
Speaker: Fuw-Yi Yang 楊伏夷 伏夷非征番, 道德經 察政章(Chapter 58) 伏者潛藏也
FIGURE 3.1 Two-variable K-map
CHAPTER 3 Simplification of Boolean Functions
Boolean Algebra.
CS2100 Computer Organisation
CS 105 Digital Logic Design
PROPAGATION DELAY.
Princess Sumaya University
Computer Architecture CST 250
DIGITAL LOGIC CIRCUITS
Karnaugh Maps (K-Maps)
Boolean Algebra Why study Boolean Algebra?
Boolean Algebra & Logic Circuits
Basic Logic Gates 1.
Universal gates.
DIGITAL ELECTRONICS B.SC FY
Department of Electronics
Computer Architecture
Presentation transcript:

Digital Integrated Circuit Design Laboratory Department of Computer Science and Information Engineering National Cheng Kung University Experiment on digital system

Outline ■ NAND & NOR Introduction ■ NAND & NOR Implementation ■ Two-Level & Three-Level Implementation ■ INVERSE Functions ■ Example ■ Adder ■ Subtractor ■ LAB

Digital Integrated Circuit Design Laboratory Department of Computer Science and Information Engineering National Cheng Kung University NAND & NOR Introduction

NAND & NOR Introduction (1/2) ■ NAND / NOR ❑ Basic gates used in all IC digital logic families. ❑ Needs inversion from AND/OR/NOT into NAND/NOR. ■ Compare with AND/OR ❑ Digital circuits are frequently constructed with NAND/NOR rather than AND/OR gates. ❑ NAND and NOR gates are easier to fabricate with electronic components than AND/OR. ❑ Cheaper (lower cost) and faster (less delay).

NAND & NOR Introduction(2/2)

Digital Integrated Circuit Design Laboratory Department of Computer Science and Information Engineering National Cheng Kung University NAND & NOR Implementation

■ AND, OR, NOT can be designed from NAND gates. ■ “AND-OR” diagram ❑ → “NAND-NAND”. ■ “OR-AND” diagram ❑ → “NOR-NOR”.

NAND Implementation ■ A “universal” gate ❑ any digital system can be implemented with it ■ AND, OR, NOT can be obtained from NAND gates NAND x y (xy)’ One-input NAND x x’ =

NOR Implementation ■ A universal gate ■ The dual of NAND ❑ All procedures/rules for NAND are dual of the corresponding procedures/rules for NOR ■ NOT OR AND implemented with NOR NOR x y (x+y)’ One-input NOR x x’

Two Graphic Symbols for NAND & NOR Gate ■ 2 equivalent graphic symbols for NAND & NOR gate

Digital Integrated Circuit Design Laboratory Department of Computer Science and Information Engineering National Cheng Kung University Two-Level & Three-Level Implementation

Two-Level Implementation with NAND ■ Boolean function in sum of products form (AND-OR) ■ DeMorgan’s theorem F = AB + CD = ((AB)’(CD)’)’ // 2-level NAND implementation ■ “AND-OR” diagram → “NAND-NAND” (all NAND diagram) (AB)’ (CD)’ = ((AB)’(CD)’)’ AB CD AB+CD =

Two-Level Implementation with NOR ■ Requirement ❑ the Boolean function in product of sums ■ map → combining 0’s → complementing ■ “OR-AND” diagram → all-NOR diagram “NOR-NOR” ■ Multilevel implementation – similar to the one for NAND

Two-Level Implementation Example Implement F(x,y,z)=Σ(1,2,3,4,5,7) with NAND gates 1. Simplify F(x,y,z) in sum of products by means of “map”. 2. Draw a NAND gate for each product term with at least 2 literals. 3. Draw a single NAND gate in the 2nd level with inputs coming from outputs of 1st level. 4. A term with a single literal requires an inverter in the 1st level

Three-level Implementation Example: F = (AB′ +A′B)(C + D′) Implementing F = (AB′ +A′B)(C + D′) with NOR gates

Digital Integrated Circuit Design Laboratory Department of Computer Science and Information Engineering National Cheng Kung University INVERT Functions

AND-OR-INVERT Functions ■ AND-NOR = NAND-AND F = (AB+CD+E)’

OR-AND-INVERT Functions ■ OR-NAND = NOR-OR F = [(A+B)(C+D)E)]’

Digital Integrated Circuit Design Laboratory Department of Computer Science and Information Engineering National Cheng Kung University Example

A Three-Input Circuit (1/2) xyzxyz x y z O input output truth table O O= x'yz + xy'z+ xyz' + xyz z x y z x y simplification O= xy + yz+ xz Good !!

A Three-Input Circuit (2/2) xyzxyz x y z O input output truth table O z x y simplification O= xy + yz+ xz x z y xy yz xz o x z y o Low cost Less delay

Digital Integrated Circuit Design Laboratory Department of Computer Science and Information Engineering National Cheng Kung University Adder

Half adder (1/2) ■ Half adder (HA) ❑ Two inputs ■ Summand(a) 、 addend(b) ❑ Two outputs ■ Sum(S) 、 Carry(C) ■ Truth table abCS a b+ SC

Half adder (2/2) S = a’b + ab’ = a b C = ab

Full adder (1/2) ■ A full adder is additionally designed with an input of carry. abcCS Truth table

Full adder (2/2) ■ With two half adders and an OR gate. S = a’b’c + a’bc’ + ab’c’ + abc C = ab + ac + bc

Implementation of full adder ■ Sum of products S = a’b’c + a’bc’ + ab’c’ + abc C = ab + ac + bc

2-Bit adder ■ With two full adders A1 B1+ A0 B0 C1 S0S1C2

Digital Integrated Circuit Design Laboratory Department of Computer Science and Information Engineering National Cheng Kung University Subtractor

Half subtractor ■ Half subtractor ❑ With two inputs: ■ minuend(a) 、 subtrahend (b) ❑ Two outputs: ■ Difference(d) 、 borrow(b)

Full subtractor ■ A full subtractor is designed with an additional input of borrow.

Digital Integrated Circuit Design Laboratory Department of Computer Science and Information Engineering National Cheng Kung University LAB

Lab ■ 2-Bit by 2-Bit Binary Multiplier ❑ Ex: 2x3 (10 x 11) ❑ B1=1, B0=0, A1=1, A0=1 ❑ =>A1B1=1, A1B0=0, A0B1=1, A0B0=0 Four input, B1,B0, A1,A0 Four output, C3, C2, C1, C0

Equipment NamesAmount Solerless Breadboard×1 74LS08×2 74LS86×1

74LS08

74LS86