Chapter 0 – Week 2 Combinational Logic Design. What have been discussed Design hierarchy –Top – down –Bottom – up CAD HDL Logic synthesis.

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.
التصميم المنطقي Second Course
1 Homework Reading –Tokheim, Section 5-10, 7-4 Machine Projects –Continue on MP4 Labs –Continue labs with your assigned section.
ECE 301 – Digital Electronics Circuit Design and Analysis (Lecture #9A) The slides included herein were taken from the materials accompanying Fundamentals.
08/07/041 CSE-221 Digital Logic Design (DLD) Lecture-8:
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 3 – Combinational Logic Design Part 1 –
ECE 331 – Digital System Design Logic Circuit Design (Lecture #7)
Combinational Logic1 DIGITAL LOGIC DESIGN by Dr. Fenghui Yao Tennessee State University Department of Computer Science Nashville, TN.
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 –
1 Forging new generations of engineers. 2 DESIGN EXAMPLE “Date of Birth Problem”
Combinational Logic Design
Overview Part 1 – Design Procedure 3-1 Design Procedure
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.
Adders and Multipliers Review. ARITHMETIC CIRCUITS Is a combinational circuit that performs arithmetic operations, e.g. –Addition –Subtraction –Multiplication.
Morgan Kaufmann Publishers
Combinational Logic Design CS341 Digital Logic and Computer Organization F2003.
CS 151: Digital Design Chapter 3 3-8: Encoding. CS 151 Encoding Encoding - the opposite of decoding - the conversion of a maximum of 2 n input code to.
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.
Outline Analysis of Combinational Circuits Signed Number Arithmetic
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.
ABCDNumber = Off 1 = On Binary Coded Decimal (BCD)
Combinational Logic. Outline 4.1 Introduction 4.2 Combinational Circuits 4.3 Analysis Procedure 4.4 Design Procedure 4.5 Binary Adder- Subtractor 4.6.
A little bit of exercise.. ;). Exercise Given to you are some binary to decimal examples : Given to you are some binary to decimal examples : Tens Units.
Combinational Logic Design BIL- 223 Logic Circuit Design Ege University Department of Computer Engineering.
1 Adders & Subtractors Adders –An adder is a combinational logic circuit that performs the addition of 2 binary numbers (A & B) to generate the sum (S)
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.
ECE 331 – Digital System Design Circuit Design and Analysis (Lecture #9A) The slides included herein were taken from the materials accompanying Fundamentals.
Lab 2 : Overview Combinational System.
Chapter 0 - reVieW Combinational Logic Circuit, Combinational Logic Circuit, Propagation Delay, Propagation Delay, Programmable Logic. Programmable Logic.
EKT 124 / 3 DIGITAL ELEKTRONIC 1
Magnitude Comparator Dr. Ahmed Telba.
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.
BCD S EVEN SEGMENT D ECODER. I NTRODUCTION  A Decoder IC, is a device which converts one digital format into another and the most commonly used device.
ECE 301 – Digital Electronics Logic Circuit Design (Lecture #9)
Chapter 0 ComBinaTionaL loGic deSign ComBinaTionaL loGic deSign EKT 221 / 4 DIGITAL ELECTRONICS II.
Contemporary Logic Design Prog. & Steering Logic © R.H. Katz Transparency No. 9-1 Chapter # 4: Programmable and Steering Logic Section 4.3, 4.4, 4.5, 4.6.
Logic Design (CE1111 ) Lecture 4 (Chapter 4) Combinational Logic Prepared by Dr. Lamiaa Elshenawy 1.
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.
Combinational Design, Part 2: Procedure. 2 Topics Positive vs. negative logic Design procedure.
SYEN 3330 Digital SystemsJung H. Kim Chapter 3 1 SYEN 3330 Digital Systems Chapter 3.
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
Chap 3. Combinational Logic Design
Combinational Logic Design
Combinational Logic Design&Analysis.
Combinational Logic Design
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
FIGURE 4.1 Block diagram of combinational circuit
Chapter 3 – Combinational Logic Design
Homework Reading Tokheim, Section 5-10, 7-4.
Ch 4. Combinational logic
Combinational Circuits
Chapter5: Synchronous Sequential Logic – Part 4
Digital System Design Combinational Logic
Adder, Subtructer, Encoder, Decoder, Multiplexer, Demultiplexer
Presentation transcript:

Chapter 0 – Week 2 Combinational Logic Design

What have been discussed Design hierarchy –Top – down –Bottom – up CAD HDL Logic synthesis

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

Analyze this logic diagram T1 T3 T2 T4 T5

Boolean Equation T1 = T2 = T3 = T4 = T5 = F1 = F2 =

Analyze this Binary Adder R1 R2 R3

Truth Table XYZ CCR1R2R3S

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

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

Design Procedure Given : Specifications of the problem 1.Determine input & output 2.Derive truth table 3.Obtain Boolean equation (K-map) 4.Draw schematics 5.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 = = 8 (1000)

BCD  Excess – 3 Step 1. –Input : –Output :

BCD  Excess – 3 Step 2 : Truth Table

BCD  Excess – 3 Step 3 : Boolean equation

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

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 1.If there is a car in the priority lane, PL = 1. 2.If there are no cars in the priority lane and the right lane, and there is a car in the left lane, LL = 1. 3.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. 4.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. 5.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. 6.If any PL, LL or RL is not specified to be 1 above, then it has value 0.

The End