NAND-ONLY LOGIC CIRCUITS

Slides:



Advertisements
Similar presentations
Chapter 4 Gates and Circuits.
Advertisements

Chapter 4 Gates and Circuits Nell Dale • John Lewis.
Chapter 4 Gates and Circuits.
Gates and Circuits Nell Dale & John Lewis (adaptation by Erin Chambers and Michael Goldwasser)
CS105 Introduction to Computer Concepts GATES and CIRCUITS
Chapter 4 Gates and Circuits.
Give qualifications of instructors: DAP
EE 261 – Introduction to Logic Circuits
Princess Sumaya University
Logical Design.
Functions and Functional Blocks
CSIS 3510 Computer Organization and Architecture Topics covered in this lecture: –Review of De’Morgan’s Theorem –Using De’Morgan’s Theorem –Building a.
Morgan Kaufmann Publishers
Decoders/DeMUXs CS370 – Spring Decoder: single data input, n control inputs, 2 outputs control inputs (called select S) represent Binary index of.
Overview Part 2 – Combinational Logic
CS 151 Digital Systems Design Lecture 17 Encoders and Decoders
Chapter 4 Gates and Circuits.
9/19/06 Hofstra University – Overview of Computer Science, CSC005 1 Chapter 4 Gates and Circuits.
Multiplexers, Decoders, and Programmable Logic Devices
ECE 301 – Digital Electronics Multiplexers and Demultiplexers (Lecture #12)
Multiplexer MUX. 2 Multiplexer Multiplexer (Selector)  2 n data inputs,  n control inputs,  1 output  Used to connect 2 n points to a single point.
Gates A digital circuit is one in which only two logical values are present. Typically, a signal between 0 and 1 volt represents one value (e.g. binary.
Any logic circuits can be transformed to an implementation where only NAND gates (and inverters) are used. The general approach to finding a NAND-gate.
Chapter2 Digital Components Dr. Bernard Chen Ph.D. University of Central Arkansas Spring 2009.
Chapter 4 Gates and Circuits. 4–2 Chapter Goals Identify the basic gates and describe the behavior of each Describe how gates are implemented using transistors.
Outline Decoder Encoder Mux. Decoder Accepts a value and decodes it Output corresponds to value of n inputs Consists of: Inputs (n) Outputs (2 n, numbered.
Chapter 4 Gates and Circuits.
Combinational Logic Design
Chapter 4 Gates and Circuits. Integrated Circuits aka CHIPS What’s in this thing???? 4–2.
Chapter 4 Gates and Circuits.
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Logic Circuits I.
Unit 9 Multiplexers, Decoders, and Programmable Logic Devices
CPS120: Introduction to Computer Science
1 DIGITAL ELECTRONICS. 2 OVERVIEW –electronic circuits capable of carrying out logical (boolean) and arithmetic operations on information stored as binary.
WEEK #9 FUNCTIONS OF COMBINATIONAL LOGIC (DECODERS & MUX EXPANSION)
Multiplexers 1 The output is equal to one of several input signals to the circuit The multiplexer selects which input signal to use as an output signal.
1 Lecture #7 EGR 277 – Digital Logic Reading Assignment: Chapter 4 in Digital Design, 3 rd Edition by Mano Chapter 4 – Combinational Logic Circuits A)
Digital Logic Problems (II) Prof. Sin-Min Lee Department of Mathematics and Computer Science.
Adders Half-adder  Adds two bits Produces a sum and carry  Problem: Cannot use it to build larger inputs Full-adder  Adds three 1-bit values Like half-adder,
Computer logic Data and programs in digital computers are represented and processed by electronic circuit networks called digital logic circuits or logic.
Combinational Circuits by Dr. Amin Danial Asham. References  Digital Design 5 th Edition, Morris Mano.
Magnitude Comparator Dr. Ahmed Telba.
Chapter 3: Combinational Functions and Circuits 3-5 to 3-7: Decoders
CS151 Introduction to Digital Design Chapter 3: Combinational Logic Design 3-5 Combinational Functional Blocks 3-6 Rudimentary Logic Functions 3-7 Decoding.
XYZCS Designing Binary Adders with decoders C(X,Y,Z) =  m(3,5,6,7) S(X,Y,Z) = S m(1,2,4,7);
Chapter 3 Digital Logic Structures
Digital Design Module 2 Decoder Amit Kumar AP SCSE, GU Greater Noida.
Combinational Circuits. Outline Boolean Algebra Decoder Encoder MUX.
1 DLD Lecture 16 More Multiplexers, Encoders and Decoders.
Week 1: Introduction and Logic gates IT3002 – Computer Architecture
Basics of Logic gates - Part 2
Dr. Ameria Eldosoky Discrete mathematics
Dr.Ahmed Bayoumi Dr.Shady Elmashad
Combinational Circuits
PROPAGATION DELAY.
Multiplexers and Demultiplexers,
CS140 Lecture 03: The Machinery of Computation: Combinational Logic
Combinational Functions and Circuits
Combinational Circuit Design
Combinational Circuits
ECE 2110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices Decoders.
Basics Combinational Circuits Sequential Circuits
Chapter 4 Gates and Circuits.
CS105 Introduction to Computer Concepts GATES and CIRCUITS
CSE221- Logic Design, Spring 2003 Logic Technology
Chapter 3 – Combinational Logic Design
CSC 220: Computer Organization Logic Gates and Functions
Logic Gates.
Chapter 2 Gates.
Digital System Design Combinational Logic
Presentation transcript:

NAND-ONLY LOGIC CIRCUITS • Any logic circuits can be transformed to an implementation where only NAND gates (and inverters) are used. • The general approach to finding a NAND-gate realization: Use DeMorgan’s theorem to eliminate all the OR operations. 1

NAND-ONLY LOGIC CIRCUITS (Example) F = A + B • (C + D’) = A + B • (C’D)’ Note that (C’D)’ = C + D’ and (A’X’)’ = A + X F = (A’ • (B • (C’D)’)’)’ Now there is no OR operation in the Boolean expression. Note that A NAND B = (AB)’

The logic circuit for this function is given by: F= (A’ • (B • (C’D)’)’)’ The logic circuit for this function is given by: We can also use the same procedure to do NOR only gates. 3

Dr. Bernard Chen Ph.D. University of Central Arkansas Spring 2009 Ch2. Decoder Dr. Bernard Chen Ph.D. University of Central Arkansas Spring 2009

Integrated Circuits An integrated circuit is a piece (also called a chip) of silicon on which multiple gates or transistors have been embedded These silicon pieces are mounted on a plastic or ceramic package with pins along the edges that can be soldered onto circuit boards or inserted into appropriate sockets

Integrated Circuits SSI, MSI, LSI: They perform small tasks such as addition of few bits. small memories, small processors  VLSI Tasks: - Large memory - Complex microprocessors, CPUs

An SSI chip contains independent NAND gates

Examples of Combinational Circuits a) Decoders b) Encoders c) Multiplexers d) Demultiplexers

Decoder Accepts a value and decodes it Consists of: Output corresponds to value of n inputs Consists of: Inputs (n) Outputs (2n , numbered from 0  2n - 1) Selectors / Enable (active high or active low)

The truth table of 2-to-4 Decoder

2-to-4 Decoder

2-to-4 Decoder

The truth table of 3-to-8 Decoder 1

3-to-8 Decoder

3-to-8 Decoder with Enable

2-to-4 Decoder: NAND implementation Decoder is enabled when E=0 and an output is active if it is 0

2-4 Decoder with 2-input and Enable

Decoder Expansion Decoder expansion Combine two or more small decoders with enable inputs to form a larger decoder 3-to-8-line decoder constructed from two 2-to-4-line decoders The MSB is connected to the enable inputs if A2=0, upper is enabled; if A2=1, lower is enabled.

Decoder Expansion

Combining two 2-4 decoders to form one 3-8 decoder using enable switch The highest bit is used for the enables

Combinational Circuit Design with Decoders Combinational circuit implementation with decoders A decoder provide 2n minterms of n input variables Since any Boolean function can be expressed as a sum of minterms, one can use a decoder and external OR gates to implement any combinational function.

Combinational Circuit Design with Decoders Example Realize F (X,Y,Z) = Σ (1, 4, 7) with a decoder: