Digital Electronics.

Slides:



Advertisements
Similar presentations
Digital Circuits. Review – Getting the truth table The first step in designing a digital circuit usually is to get the truth table. That is, for every.
Advertisements

ECE 2110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices Encoders.
Give qualifications of instructors: DAP
//HDL Example 4-10 // //Gate-level description of circuit of Fig. 4-2 module analysis (A,B,C,F1,F2); input.
Logic Circuits Design presented by Amr Al-Awamry
Princess Sumaya University
Verilog Modules for Common Digital Functions
Combinational Circuits
Functions and Functional Blocks
ECE 3110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices XOR, Parity Circuits, Comparators.
التصميم المنطقي Second Course
1 Tutorial: ITI1100 Dewan Tanvir Ahmed SITE, UofO.
CS 151 Digital Systems Design Lecture 15 Magnitude Comparators and Multiplexers.
08/07/041 CSE-221 Digital Logic Design (DLD) Lecture-8:
Chapter 3 Continued Logic Gates Logic Chips Combinational Logic Timing Sequential Logic Flip Flops Registers Memory State Machines.
DIGITAL SYSTEMS TCE OTHER COMBINATIONAL LOGIC CIRCUITS WEEK 7 AND WEEK 8 (LECTURE 1 OF 3) COMPARATORS CODE CONVERTERS.
Combinational Logic1 DIGITAL LOGIC DESIGN by Dr. Fenghui Yao Tennessee State University Department of Computer Science Nashville, TN.
TDC 311 Digital Logic. Truth Tables  AND  OR  NOT  NAND  NOR  XOR  XNOR.
Part 2: DESIGN CIRCUIT. LOGIC CIRCUIT DESIGN x y z F F = x + y’z x y z F Truth Table Boolean Function.
Logic Gates Combinational Circuits
CS 105 Digital Logic Design
Digital Logic Lecture 08 By Amr Al-Awamry. Combinational Logic 1 A combinational circuit consists of an interconnection of logic gates. Combinational.
Combinational Logic Chapter 4.
Sahar Mosleh PageCalifornia State University San Marcos 1 Multiplexer, Decoder and Circuit Designing.
Combinational Logic. Digital Circuits Introduction Logic circuits for digital systems may be combinational or sequential. A combinational circuit.
Module 9.  Digital logic circuits can be categorized based on the nature of their inputs either: Combinational logic circuit It consists of logic gates.
9/15/09 - L15 Decoders, Multiplexers Copyright Joanne DeGroat, ECE, OSU1 Decoders and Multiplexer Circuits.
Digital Logic Structures: Chapter 3 COMP 2610 Dr. James Money COMP
Lecture 9 Topics: –Combinational circuits Basic concepts Examples of typical combinational circuits –Half-adder –Full-adder –Ripple-Carry adder –Decoder.
9/15/09 - L15 Decoders, Multiplexers Copyright Joanne DeGroat, ECE, OSU1 Decoders and Multiplexer Circuits.
Universal college of engineering & technology. .By Harsh Patel)
Sneha.  A combinational circuit that performs the addition of two bits is called a half adder.  It has two inputs.  It has two outputs.
Digital Logic Design (CSNB163)
Magnitude Comparator A magnitude comparator is a combinational circuit that compares two numbers, A and B, and then determines their relative magnitudes.
Computing Machinery Chapter 3: Combinational Circuits.
Multiplexors Decoders  Decoders are used for forming separate signals for different combination of input signals.  The multiplexer circuit is a digital.
Module 11.  In Module 9, we have been introduced to the concept of combinational logic circuits through the examples of binary adders.  Meanwhile, in.
Chapter 3 Digital Logic Structures
Digital Design Lecture 8 Combinatorial Logic (Continued)
Digital Design Module 2 Decoder Amit Kumar AP SCSE, GU Greater Noida.
Chapter4: Combinational Logic Part 4 Originally By Reham S. Al-Majed Imam Muhammad Bin Saud University.
C OMBINATIONAL L OGIC D ESIGN 1 Eng.Maha AlGubali.
Explain Half Adder and Full Adder with Truth Table.
LOGIC CIRCUITLOGIC CIRCUIT. Goal To understand how digital a computer can work, at the lowest level. To understand what is possible and the limitations.
Logic Design (CE1111 ) Lecture 4 (Chapter 4) Combinational Logic Prepared by Dr. Lamiaa Elshenawy 1.
Comparators Combinational Design. Comparators Equality and Magnitude Comparators –CSE 171 (Designed using CUPL) TTL Comparators Comparator Networks Cascading.
Instructor: Oluwayomi Adamo Digital Systems Design.
Presented by A. Maleki Fall Semester, 2010
ECE 3130 Digital Electronics and Design
ECE 3130 Digital Electronics and Design
Part 4 Combinational Logic.
Digital Electronics MSI Logic
Combinational Functions and Circuits
Combinational Circuit Design
Lecture 4: Combinational Functions and Circuits
Reference: Chapter 3 Moris Mano 4th Edition
Magnitude Comparator A magnitude comparator is a combinational circuit that compares two numbers, A and B, and then determines their relative magnitudes.
Logic Design Review – 2 Basic Combinational Circuits
FIGURE 4.1 Block diagram of combinational circuit
Digital Logic & Design Dr. Waseem Ikram Lecture No. 16.
Behavioral/RTL Description (HDL)
Week 7: Gates and Circuits: PART II
Number Systems and Circuits for Addition
DIGITAL ELECTRONICS B.SC FY
Combinational Circuits
Electronics for Physicists
XOR Function Logic Symbol  Description  Truth Table 
Magnitude Comparator Lecture L6.2 Section 6.1.
SYEN 3330 Digital Systems Chapter 2 – Part 1 SYEN 3330 Digital Systems.
Unit IV Adders Subtractors Flip Flops Counters Multiplexes and De multiplexes. Integrated circuits-Op. amp – Characteristics Inverting amplifier - Non-inverting.
Presentation transcript:

Digital Electronics

Chapter 4 Combinational Logic

Terminology Combinational:Output is completely determined from the input(s) and does not depend on time Sequential : Output depends on the input(s), previous history, and time Analysis : A circuit is given and one must determine the Truth Table Design: One must build a circuit whose output(s) are given as a Truth Table

Analysis Problem Set up the Truth Table

Analysis: Truth Table x y F 0 0 0 0 1 1 1 0 1 1 1 0

Design or Synthesis x y z F 0 0 0 0 0 0 1 0 0 1 0 0 0 1 1 1 1 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 1 1 1 1 0 0 0 1 0 1 1 1 1 0 1 1 1 1 1

K-Map of Design Problem y'z' y'z yz yz' x' x 1 1 1 1 F = x y + x z + y z

Final Circuit Design F = x y + x z + y z

Binary Adder Half Adder Truth Table x y C S 0 0 0 0 0 1 0 1 1 0 0 1 0 0 0 0 0 1 0 1 1 0 0 1 1 1 1 0

Implementation of Half Adder

Full Adder x y z C S 0 0 0 0 0 0 0 1 0 1 0 1 0 0 1 0 1 1 1 0 1 0 0 0 1 1 0 1 1 0 1 1 0 1 0 1 1 1 1 1

Implementation of Full Adder

Magnitude Comparator

Comparator Theory x is generated from XNOR and equals 1 if the two bits are equal A = B if all the x’s are equal A > B if the corresponding bit is greater as long as the previous bits are equal A < B if the corresponding bit is smaller as long as the previous bits are equal

3-to-8 Line Decoder

Decoder Truth Table Which output will be high when x =1, y = 1 and z = 0 ?

Decoder Truth Table Only line 6 will be high. The other 7 lines will be low.

Implement the Full Adder with a 3x8 Decoder Decoder Application Implement the Full Adder with a 3x8 Decoder

Full Adder using 3x8 Decoder

Important Note! The actual 74LS138 decoder chip has inverted outputs … welcome to the REAL WORLD!!!

Multiplexer A multiplexer is a combinational circuit that selects binary information from one of many input lines and directs it to a single output line.

Multiplexer

Multiplexer Application Implement the function F(x,y,z) = Σ(1,2,6,7)

F(x,y,z) = Σ(1,2,6,7) with a multiplexer

VHDL // A 2x4 Decoder with enable E module my_decoder (A,B,E,D); input A,B,E; output [0:3] D; assign D[0] = ~(~A & ~B & ~E), D[1] = ~(~A & B & ~E), D[2] = ~(A & ~B & ~E), D[3] = ~(A & B & ~E); endmodule

Gate implementation of my_decoder

More VHDL ... //A 4-bit comparator module comp(A,B,ALTB,AGTB,AEQB); input [3:0] A,B; output ALTB,AGTB,AEQB; assign ALTB = (A < B), AGTB = (A > B), AEQB = (A == B); endmodule

That’s All Folks!