Combinational Logic Design

Slides:



Advertisements
Similar presentations
5.4 Decoders A decoder is a multiple-input, multiple-output logic circuit that converts coded inputs into coded outputs, where the input and output codes.
Advertisements

Digital Logic Design Week 7 Encoders, Decoders, Multiplexers, Demuxes.
Combinational Circuits CS370 – Spring BCD to 7 Segment Display Controller Understanding the problem: input is a 4 bit bcd digit output is the control.
COE 202: Digital Logic Design Combinational Circuits Part 1
1 Combinational Logic Design&Analysis. 2 Introduction We have learned all the prerequisite material: – Truth tables and Boolean expressions describe functions.
COE 202: Digital Logic Design Sequential Circuits Part 3
التصميم المنطقي Second Course
08/07/041 CSE-221 Digital Logic Design (DLD) Lecture-8:
Combinational Logic Chapter 4.
DIGITAL SYSTEMS TCE OTHER COMBINATIONAL LOGIC CIRCUITS WEEK 7 AND WEEK 8 (LECTURE 1 OF 3) COMPARATORS CODE CONVERTERS.
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 3 – Combinational Logic Design Part 1 –
COE 202: Digital Logic Design Combinational Circuits Part 1
Chapter 3 Combinational Logic Design
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 3 – Combinational Logic Design Part 1 –
Combinational Logic Design
Overview Part 1 – Design Procedure 3-1 Design Procedure
CS 105 Digital Logic Design
Morgan Kaufmann Publishers
Combinational Logic Design CS341 Digital Logic and Computer Organization F2003.
Charles Kime & Thomas Kaminski © 2004 Pearson Education, Inc. Terms of Use (Hyperlinks are active in View Show mode) Terms of Use Lecture 12 – Design Procedure.
Chapter 5 Memory and Programmable Logic 5.1. Introduction 5.2. Random Access Memory 5.3. Memory Encoding 5.4. Read Only Memory 5.5. Programmable Logic.
Combinational Logic Chapter 4. Digital Circuits Combinational Circuits Logic circuits for digital system Combinational circuits the outputs are.
Chap 3. Chap 3. Combinational Logic Design. Chap Combinational Circuits l logic circuits for digital systems: combinational vs sequential l Combinational.
Dr. Ahmed El-Bialy, Dr. Sahar Fawzy Combinational Circuits Dr. Ahmed El-Bialy Dr. Sahar Fawzy.
Combinational Logic Design BIL- 223 Logic Circuit Design Ege University Department of Computer Engineering.
Combinational Logic. Digital Circuits Introduction Logic circuits for digital systems may be combinational or sequential. A combinational circuit.
1 Combinational Logic Design Digital Computer Logic Kashif Bashir
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 3 – Combinational Logic Design Part 1 –
Chapter 0 deSiGn conCepTs EKT 221 / 4 DIGITAL ELECTRONICS II.
Chapter 0 - reVieW Combinational Logic Circuit, Combinational Logic Circuit, Propagation Delay, Propagation Delay, Programmable Logic. Programmable Logic.
Chap 2. Combinational Logic Circuits
EE 5900 Advanced Algorithms for Robust VLSI CAD, Spring 2009 Combinational Circuits.
1 Chapter 4 Combinational Logic Logic circuits for digital systems may be combinational or sequential. A combinational circuit consists of input variables,
1 CS 151: Digital Design Chapter 3: Combinational Logic Design 3-1Design Procedure CS 151: Digital Design.
CS151 Introduction to Digital Design Chapter 3: Combinational Logic Design 3-1 Design Procedure 1Created by: Ms.Amany AlSaleh.
Combinational Circuits
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Binary Numbers For digital systems, the.
Chapter 0 – Week 2 Combinational Logic Design. What have been discussed Design hierarchy –Top – down –Bottom – up CAD HDL Logic synthesis.
Chapter 0 ComBinaTionaL loGic deSign ComBinaTionaL loGic deSign EKT 221 / 4 DIGITAL ELECTRONICS II.
C OMBINATIONAL L OGIC D ESIGN 1 Eng.Maha AlGubali.
Logic Design (CE1111 ) Lecture 4 (Chapter 4) Combinational Logic Prepared by Dr. Lamiaa Elshenawy 1.
ACOE161Digital Circuit Design1 Design Of Combinational Logic Circuits.
Decoders A decoder is a logic circuit that detects the presence of a specific combination of bits at its input. Two simple decoders that detect the presence.
Decoder Chapter 12 Subject: Digital System Year: 2009.
MSI Circuits.
Circuit Synthesis A logic function can be represented in several different forms:  Truth table representation  Boolean equation  Circuit schematic 
Combinational Design, Part 2: Procedure. 2 Topics Positive vs. negative logic Design procedure.
Lecture 1 Gunjeet kaur Dronacharya group of institutions.
CS151 Introduction to Digital Design Chapter 3: Combinational Logic Design 3-4 Verification 1Created by: Ms.Amany AlSaleh.
CHAPTER 16 SEQUENTIAL CIRCUIT DESIGN
EGR 2131 Unit 4 Combinational Circuits: Analysis & Design
Lecture 7 Multi-Level Gate Networks
Chap 3. Combinational Logic Design
Combinational Logic Design
Combinational Logic Design&Analysis.
EKT 124 / 3 DIGITAL ELEKTRONIC 1
Lab 2 : Overview Combinational System.
Combinational Logic Logic circuits for digital systems may be combinational or sequential. A combinational circuit consists of input variables, logic gates,
Overview Part 1 – Design Procedure Beginning Hierarchical Design
How Boolean logic is implemented
FIGURE 4.1 Block diagram of combinational circuit
Chapter 3 – Combinational Logic Design
Homework Reading Tokheim, Section 5-10, 7-4.
Combinational Circuits
Combinational Circuits
Chapter5: Synchronous Sequential Logic – Part 4
Digital System Design Combinational Logic
Combinational Circuits
COE 202: Digital Logic Design Sequential Circuits Part 3
Presentation transcript:

Combinational Logic Design Chapter 0 – Week 2 Combinational Logic Design

What have been discussed Design hierarchy Top – down Bottom – up CAD (Comp. Aided Design) HDL (Hardware Description Language) Logic synthesis

Analysis Procedure Analysis To determine the function of a circuit Derive Boolean equation Derive truth table

Analyze this logic diagram

Boolean Equation T1 =BC T2 =AB T3 =A+T1=A+BC T4 =T2 + D = AB + D T5 =AB+D F1 = (A+BC) + (AB + D) F2 = T5 = AB + D

Analyze this Binary Adder C

Truth Table X Y Z C R1 R2 R3 S

Truth Table X Y Z 1 C R1 R2 R3 S 1

Logic Simulation A fast and accurate method of analyzing a combinational circuit Using simulator software Results : Waveforms A complete truth table Part of a truth table

Logic Simulation How is the circuit described in the software ? Schematics HDL

Schematic for Binary Adder in Xilinx

Waveforms for Binary Adder

Simulation in Max Plus II

Waveforms in MaxPlus II

Point to ponder…. Why do we compare the simulation results vs the theoretical results?

Design Procedure Given : Specifications of the problem Determine input & output Derive truth table Obtain Boolean equation (K-map) Draw schematics Verify design

Design of BCD to Excess – 3 Code Converter Specifications : Input in decimal numbers, 0 – 9, in binary form Output is excess – 3 code E.g Decimal = 5 (101) Excess – 3 code = 5 + 3 = 8 (1000)

BCD  Excess – 3 Step 1. Input : 0 to 9, 4 – bit binary code  A, B, C, D Output : 3 to 12, 4 – bit binary code  W, X, Y, Z

BCD  Excess – 3 Step 2 : Truth Table Dec 1 2 3 4 5 6 7 8 9 A B C D 1 1 2 3 4 5 6 7 8 9 A B C D 1 W X Y Z 1

BCD  Excess – 3 Step 3 : Boolean equation W = A + BC + BD X = BC + BD + BCD Y = CD + CD Z = D

BCD  Excess – 3 Step 4 : Schematic diagram

BCD  Excess – 3 Step 4 : Schematic diagram

BCD  Excess – 3 Step 5 : Verify that schematic diagram agrees with truth table

Design of BCD to 7 –segment decoder Specifications : Input in decimal numbers, 0 – 9, in binary form 7 Outputs – to display input number

7 – segment Display

BCD to 7 –segment decoder Step 1 :

BCD to 7 – segment decoder Step 2 : Truth Table A B C D 1 All other inputs a b c d e f g 1

Exercise A traffic light system has the following specifications for a part of its controller. There are 3 parallel lanes, each with its own red / green light. One of these lanes, the priority lane, is given priority for a green light over the other 2 lanes. On the other hand, an alternating scheme is used for the other 2 lanes, which are left and right lane. Design the circuit that determines which light is to be green at a particular time. The specifications for the controller are as follows :

Exercise Inputs : PS – Priority Lane Sensor ( car present = 1; car absent = 0 ) LS – Left Lane Sensor ( car present = 1; car absent = 0 ) RS – Right Lane Sensor ( car present = 1; car absent = 0 ) AS – Alternating Signal ( select left = 1; select right = 0 ) Outputs : PL – Priority Lane Light ( green = 1; red = 0 ) LL – Left Lane Light ( green = 1; red = 0 ) RL – Right Lane Light ( green = 1; red = 0 )

Exercise If there is a car in the priority lane, PL = 1. If there are no cars in the priority lane and the right lane, and there is a car in the left lane, LL = 1. If there are no cars in the priority lane and in the left lane, and there is a car in the right lane, RL = 1. If there is no car in the priority lane, there are cars in both the left and right lanes, and AS = 1, then LL = 1. If there is no car in the priority lane, there are cars in both the left and right lanes, and AS = 0, then RL = 1. If any PL, LL or RL is not specified to be 1 above, then it has value 0.

The End Let each day of your day be a masterpiece, cause today might be your last day to do it…