Slides:



Advertisements
Similar presentations
CT455: Computer Organization Logic gate
Advertisements

01 Introduction to Digital Logic
Finite State Machines (FSMs)
Combinational Logic Word Problems
SOP and POS Forms Notation.
Combinational Circuits CS370 – Spring BCD to 7 Segment Display Controller Understanding the problem: input is a 4 bit bcd digit output is the control.
CS370 – Spring 2003 Programmable Logic Devices PALs/PLAs.
Programmable Logic Devices
111 Basic Circuit Elements n Standard TTL Small-Scale Integration: 1 chip = 2-8 gates n Requires numerous chips to build interesting circuits n Alternative:
1 Combinational Logic Design&Analysis. 2 Introduction We have learned all the prerequisite material: – Truth tables and Boolean expressions describe functions.
Sequential Circuits1 DIGITAL LOGIC DESIGN by Dr. Fenghui Yao Tennessee State University Department of Computer Science Nashville, TN.
B0101 Time for Time ENGR xD52 Eric VanWyk Fall 2012.
ECE 2373 Modern Digital System Design Exam 2. ECE 2372 Exam 2 Thursday March 5 You may use two 8 ½” x 11” pages of information, front and back, write.
Computer ArchitectureFall 2008 © August 20 th, Introduction to Computer Architecture Lecture 2 – Digital Logic Design.
Chapter 4 Logic Gates and Boolean Algebra. Introduction Logic gates are the actual physical implementations of the logical operators. These gates form.
TDC 311 Digital Logic. Truth Tables  AND  OR  NOT  NAND  NOR  XOR  XNOR.
Combinational Logic Design Process
In this module you will learn: What the various logic gates do. How to represent logic gates on a circuit diagram. The truth tables for the logic gates.
Digital Design - Combinational Logic Design Chapter 2 - Combinational Logic Design.
Chapter # 4: Programmable and Steering Logic Contemporary Logic Design Randy H. Katz University of California, Berkeley June 1993.
Boolean Algebra and Digital Logic
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Logic Circuits I.
Transistors and Logic Circuits. Transistor control voltage in voltage out control high allows current to flow -- switch is closed (on) control low stops.
TODAY YOU ARE LEARNING to explain why data is represented in computer systems in binary form 2. to understand and produce simple logic diagrams.
CPS120: Introduction to Computer Science
Digital Logic Design Review Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office: Ahmad Almulhem, KFUPM 2010.
Logic Gates Shashidhara H S Dept. of ISE MSRIT. Basic Logic Design and Boolean Algebra GATES = basic digital building blocks which correspond to and perform.
Sneha.  Gates Gates  Characteristics of gates Characteristics of gates  Basic Gates Basic Gates  AND Gate AND Gate  OR gate OR gate  NOT gate NOT.
Gates and Logic Dr John Cowell phones off (please)
V - Combinational Logic Case Studies © Copyright 2004, Gaetano Borriello and Randy H. Katz 1 Combinational logic design case studies General design procedure.
Chapter # 4: Programmable and Steering Logic
Logic Gates & Boolean Algebra Chin-Sung Lin Eleanor Roosevelt High School.
Decoder/Demultiplexer
Boolean and Sequential Logic Last week – Basic Gates AND OR NOT NOR XOR NAND.
Introduction to ASIC flow and Verilog HDL
Chapter # 4: Programmable Logic
1 CS 151: Digital Design Chapter 3: Combinational Logic Design 3-1Design Procedure CS 151: Digital Design.
Logic Design CS221 1 st Term combinational circuits Cairo University Faculty of Computers and Information.

CO5023 Latches, Flip-Flops and Decoders. Sequential Circuit What does this do? The OUTPUT of a sequential circuit is determined by the current output.
Basic Logic Gates By : Ashima Wadhwa Assistant Professor (giBS)
74 Combinational Logic Design Process 1. Understand the Problem what is the circuit supposed to do? write down inputs (data, control) and outputs draw.
Digital electronics 4–1 Gates and Circuits SANJAYBHAI RAJGURU COLLEGE OF ENGG.
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.
4–1. BSCS 5 th Semester Introduction Logic diagram: a graphical representation of a circuit –Each type of gate is represented by a specific graphical.
B0010 Time for Time ENGR xD52 Eric VanWyk Fall 2012.
Circuit Synthesis A logic function can be represented in several different forms:  Truth table representation  Boolean equation  Circuit schematic 
Lecture 1 Gunjeet kaur Dronacharya group of institutions.
B0101 Time for Time ENGR xD52 Eric VanWyk Fall 2012.
Basics of Logic gates - Part 2
Chapter # 4: Programmable Logic
Eng. Mai Z. Alyazji October, 2016
Logic Gates and Boolean Algebra
Transistors and Logic Circuits
Logic Gates.
Digital Signals Digital Signals have two basic states:
Basic Digital Logic Basic Gates
ECE 434 Advanced Digital System L03
ASIC 120: Digital Systems and Standard-Cell ASIC Design
CSE 370 – Winter 2002 – Comb. Logic building blocks - 1
Logic Gates.
Combinational logic design case studies
Logic Gates.
Today You are Learning simple logic diagrams using the operations AND, OR and NOT truth tables combining Boolean operators using AND, OR and NOT.
Combinational Circuits
Chapter 4 Gates and Circuits.
Digital Logic Design Basics Combinational Circuits Sequential Circuits.
Further binary, Logic diagrams and truth tables
What are Logic Gates?.
Agenda Lecture Content: Combinatorial Circuits Boolean Algebras
Presentation transcript:

Combinational Logic Design Process 1. Understand the Problem what is the circuit supposed to do? write down inputs (data, control) and outputs draw block diagram or other picture 2. Formulate the Problem in terms of a truth table or other suitable design representation truth table, Boolean algebra, etc. 3. Choose Implementation Target PAL, PLA, Mux, Decoder, Discrete Gates 4. Follow Implementation Procedure K-maps, Boolean algebra

Process Line Control Example Statement of the Problem Rods of varying length (+/-10%) travel on conveyor belt Mechanical arm pushes rods within spec (+/-5%) to one side Second arm pushes rods too long to other side Rods too short stay on belt 3 light barriers (light source + photocell) as sensors Design combinational logic to activate the arms Understanding the Problem Inputs are three sensors, outputs are two arm control signals Assume sensor reads "1" when tripped, "0" otherwise Call sensors A, B, C Draw a picture!

Process Line Control Example (cont.) Where to place the light sensors A, B, and C to distinguish among the three cases? Assume that A detects the leading edge of the rod on the conveyor

Process Line Control Example (cont.) A to B distance place apart at specification - 5% A to C distance placed apart at specification +5%

Process Line Control Example (cont.)

Logical Function Unit Statement of the Problem: C0 C1 C2 F Comments 0 0 0 1 Always 1 0 0 1 A + B logical OR 0 1 0 A*B logical NAND 0 1 1 A xor B logical XOR 1 0 0 A xnor B logical XNOR 1 0 1 A*B logical AND 1 1 0 A+B logical NOR 1 1 1 0 always 0 3 control inputs: C0, C1, C2 2 data inputs: A, B 1 output: F Similar to the main computation unit in a Microprocessor

Logical Function Unit (cont.) C0 C1 C2 A B F 0 0 0 0 0 1 0 0 0 0 1 1 0 0 0 1 0 1 0 0 0 1 1 1 0 0 1 0 0 0 0 0 1 0 1 1 0 0 1 1 0 1 0 0 1 1 1 1 0 1 0 0 0 1 0 1 0 0 1 1 0 1 0 1 0 1 0 1 0 1 1 0 0 1 1 0 0 0 0 1 1 0 1 1 0 1 1 1 0 1 0 1 1 1 1 0 1 0 0 0 0 1 1 0 0 0 1 0 1 0 0 1 0 0 1 0 0 1 1 1 1 0 1 0 0 0 1 0 1 0 1 0 1 0 1 1 0 0 1 0 1 1 1 1 1 1 0 0 0 1 1 1 0 0 1 0 1 1 0 1 0 0 1 1 0 1 1 0 1 1 1 0 0 0 1 1 1 0 1 0 1 1 1 1 0 0 1 1 1 1 1 0 Formulate as a truth table Choose implementation technology 4 TTL packages: 4 x 2-input NAND 4 x 2-input NOR 2 x 2-input XOR 8:1 MUX A B A B A B + 5 V D D 1 D 2 D 3 D 4 D 5 D 6 D 7 S C 2 E N 8:1 Mux S 1 C 1 Q O S 2 C F

Logical Function Unit (cont.) Follow implementation procedure C 1 2 A B 00 01 11 10 C =0 00 1 1 F = C2' A' B' + C0' A B' + C0' A' B + C1' A B 01 1 1 1 1 11 1 1 5 gates, 5 inverters Also four packages: 4 x 3-input NAND 1 x 4-input NAND Alternative: PAL/PLA single package 10 1 1 1 1 C 1 2 A B 00 01 11 10 C =1 00 1 1 01 11 1 1 10

Combinational vs. Sequential Logic X Network implemented from logic gates. The presence of feedback distinguishes between sequential and combinational networks. 1 Z 1 2 m X 2 Logic Network - - X n Combinational logic no feedback among inputs and outputs outputs are a pure function of the inputs e.g., seat belt light: (Dbelt, Pbelt, Passenger) mapped into (Light) Dbelt Logic Circuit Seat Belt Light Pbelt Passenger

Circuit Timing Behavior Simple model: gates react after fixed delay A B C D E F A B C D E F 1 1

Hazards/Glitches Circuit can temporarily go to incorrect states Must filter out temporary states Copilot Autopilot Request B A Pilot in Charge? Autopilot Engaged Pilot Autopilot Request C CAR PIC PAR A B C AE

Safe Sequential Circuits Clocked elements on feedback, perhaps outputs Clock signal synchronizes operation Clocked elements hide glitches/hazards X 1 2 n Z 1 2 m - Logic - Network Clock Clock Data Compute Valid Compute Valid Compute