Experiment #3A: Introduction to Function Reduction, Function Forms, and VHDL Implementation CPE 169 Digital Design Laboratory.

Slides:



Advertisements
Similar presentations
Xilinx 6.3 Tutorial Integrated Software Environment (ISE) Set up basic environment Select Gates or Modules to Be simulated (Insert Program Code) Run Waveform.
Advertisements

EELE 367 – Logic Design Module 2 – Modern Digital Design Flow Agenda 1.History of Digital Design Approach 2.HDLs 3.Design Abstraction 4.Modern Design Steps.
Integrated Circuits Laboratory Faculty of Engineering Digital Design Flow Using Mentor Graphics Tools Presented by: Sameh Assem Ibrahim 16-October-2003.
Boolean Algebra and Combinational Logic
ECE 301 – Digital Electronics Circuit Design and Analysis (Lecture #9A) The slides included herein were taken from the materials accompanying Fundamentals.
ECE 331 – Digital System Design
Gate-Level Minimization
Experiment #2: Introduction to Logic Functions and their Gate-Level Hardware Implementations CPE 169 Digital Design Laboratory.
FPGA BASED IMAGE PROCESSING Texas A&M University / Prairie View A&M University Over the past few decades, the improvements from machine language to objected.
Combinational Logic Discussion D2.5. Combinational Logic Combinational Logic inputsoutputs Outputs depend only on the current inputs.
Digital Fundamentals Floyd Chapter 4 Tenth Edition
Unit 8 Combinational Circuit Design and Simulation Using Gates Ku-Yaw Chang Assistant Professor, Department of Computer Science.
Digital Fundamentals with PLD Programming Floyd Chapter 4
Counting with Sequential Logic Experiment 8. Experiment 7 Questions 1. Determine the propagation delay (in number of gates) from each input to each output.
Introduction to FPGA Design Illustrating the FPGA design process using Quartus II design software and the Cyclone II FPGA Starter Board. Physics 536 –
CPE 169 Digital Design Laboratory Digilent Inc. Nexys Development Board.
Introduction to Digital Design Lab Project
Unit 7 Multi-Level Gate Circuits / NAND and NOR Gates Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information.
Experiment 2 Questions 1. There are two methods that can be used to generate a complement function using a 2-input NAND gate. Draw a diagram detailing.
KU College of Engineering Elec 204: Digital Systems Design
Combinational Logic Design CS341 Digital Logic and Computer Organization F2003.
Logic Design CS221 1 st Term combinational circuits Cairo University Faculty of Computers and Information.
Lecture #3 Page 1 ECE 4110– Sequential Logic Design Lecture #3 Agenda 1.FPGA's 2.Lab Setup Announcements 1.No Class Monday, Labor Day Holiday 2.HW#2 assigned.
Boolean Algebra (Continued) ELEC 311 Digital Logic and Circuits Dr. Ron Hayne Images Courtesy of Cengage Learning.
Lecture #3 Page 1 ECE 4110– Sequential Logic Design Lecture #3 Agenda 1.FPGA's 2.Lab Setup Announcements 1.No Class Monday, Labor Day Holiday 2.HW#2 assigned.
Comments on Lab #4 Annotating Timing Diagrams Draw viewer’s attention to the points you are trying to show / verify –Important output states glitch or.
ECE 331 – Digital System Design NAND and NOR Circuits, Multi-level Logic Circuits, and Multiple-output Logic Circuits (Lecture #9) The slides included.
Gate-Level Minimization Chapter 3. Digital Circuits The Map Method The complexity of the digital logic gates the complexity of the algebraic expression.
LAB #2 Xilinix ISE Foundation Tools Schematic Capture “A Tutorial”
Combinational Building Blocks: Encoders and Decoders Experiment 6.
ECE 331 – Digital System Design Circuit Design and Analysis (Lecture #9A) The slides included herein were taken from the materials accompanying Fundamentals.
Lecture #3 Page 1 ECE 4110–5110 Digital System Design Lecture #3 Agenda 1.FPGA's 2.Lab Setup Announcements 1.HW#2 assigned Due.
Chapter 5 Boolean Algebra and Reduction Techniques 1.
Chapter 2 Two- Level Combinational Logic. Chapter Overview Logic Functions and Switches Not, AND, OR, NAND, NOR, XOR, XNOR Gate Logic Laws and Theorems.
NAND-NAND and NOR-NOR Circuits and Even and Odd Logic Functions
ETE 204 – Digital Electronics
CHAPTER 7 MULTI-LEVEL GATE CIRCUITS / NAND AND NOR GATES
displayCtrlr Specification
Lab 4 Report Comments: Procedure Ordering in lab reportProcedure Ordering in lab report report should follow logical flow of what you did in experiment:
Figure 4–1 Application of commutative law of addition. Thomas L. Floyd Digital Fundamentals, 9e Copyright ©2006 by Pearson Education, Inc. Upper Saddle.
Introductory project. Development systems Design Entry –Foundation ISE –Third party tools Mentor Graphics: FPGA Advantage Celoxica: DK Design Suite Design.
Electrical and Computer Engineering University of Cyprus LAB 1: VHDL.
Introduction to VHDL Simulation … Synthesis …. The digital design process… Initial specification Block diagram Final product Circuit equations Logic design.
Digital Integrated Circuit Design Laboratory Department of Computer Science and Information Engineering National Cheng Kung University Experiment on digital.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Pp244 In Sum-of-Products (SOP) form, basic.
NAND-NAND and NOR-NOR Circuits and Even and Odd Logic Functions ECE 301 – Digital Electronics.
Boolean Algebra and Reduction Techniques
ECE 3110: Introduction to Digital Systems Chapter #4 Review.
COE4OI5 Engineering Design Chapter 1: The 15 minutes design.
Logic Design CS221 1 st Term combinational circuits Cairo University Faculty of Computers and Information.
11 EENG 1920 Introduction to VHDL. 22 Hardware Description Language A computer language used to design circuits with text-based descriptions of the circuits.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
Experiment 2 Questions 1. There are two methods that can be used on generate a complement function using a 2-input NAND gate. Draw a diagram detailing.
Introduction to VHDL Coding Wenchao Cao, Teaching Assistant Department of EECS University of Tennessee.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Binary Numbers For digital systems, the.
Module 7.  In Module 3 we have learned about NAND gate – it is a combination of AND operation followed by NOT operation  Symbol A. B = Y  Logic Gate.
Teaching Digital Logic courses with Altera Technology
School of Computer and Communication Engineering, UniMAP DKT 122/3 - DIGITAL SYSTEM I Chapter 4A:Boolean Algebra and Logic Simplification) Mohd ridzuan.
Chapter 5 Boolean Algebra and Reduction Techniques 1.
1 CS 352 Introduction to Logic Design Lecture 4 Ahmed Ezzat Multi-level Gate Circuits and Combinational Circuit Design Ch-7 + Ch-8.
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.
Digital Systems Design 1 Signal Expressions Multiply out: F = ((X + Y)  Z) + (X  Y  Z) = (X  Z) + (Y  Z) + (X  Y  Z)
Introduction to the FPGA and Labs
EET 1131 Unit 4 Programmable Logic Devices
ECE 2110: Introduction to Digital Systems
ECE 4110–5110 Digital System Design
LAB #2 Xilinix ISE Foundation Tools Schematic Capture “A Tutorial”
Digital Fundamentals Floyd Chapter 4 Tenth Edition
Digital Designs – What does it take
Presentation transcript:

Experiment #3A: Introduction to Function Reduction, Function Forms, and VHDL Implementation CPE 169 Digital Design Laboratory

Function Reduction General approach: make function smaller Underlying purpose: make it cheaper to implement the function. True definition dependent upon how “cheaper” is defined General correlation between a “reduced function” and an inexpensive implementation

Minimum Cost Implementation Based on definition of “cost” Cost has no absolute definition: –Could include: Cost of components (digital IC’s, circuit board,…) Cost of development (engineering labor, tools,…) Cost of manufacturing (tooling, test fixtures,…) –Component Costs change with: current part availability and/or pricing quantity discounts changes in technology Our metrics: # of IC’s # of Gates (including NOT gates) # of Gate Inputs # of Literals Experiment 3: minimum cost defined by the number of gates required to implement function.

Reducing Functions Computer-based methods –fast, concise but cookbook approach Boolean algebra –instructive but slow, error prone Karnaugh Maps –fun and exciting but limited to functions of variables

Function Forms Boolean functions can be used to describe complex operations such as adders, multipliers, etc. Infinite number of different circuits can be used to implement any given function Standard function forms: –SOP (AND/OR) –POS (OR/AND) Several common forms are derived from SOP and POS using DeMorgan’s theorem

DeMorgan’s Theorems Can be used to generate different function forms : SOP-based AND/OR NAND/NAND OR/NAND NOR/OR POS-based OR/AND NOR/NOR AND/NOR NAND/AND

Experiment 3a Procedure Overview Download circuit from CPE 169 website –.bit file (Nexys) Analyze the implemented function –Create a Truth Table (include in report!!) Reduce the function to minimized SOP & POS forms –K-Maps (include in report!!) Implement the function on the Nexys and breadboard using discrete logic IC’s: (Don’t forget detailed schematics in report!!) –NAND / NAND form (SOP) –NOR / NOR form (POS) Implement the function on the Nexys FPGA using VHDL –Using VHDL and the Xilinx Tools Compare all results –Get Instructor Sign-off Sheet & signature (include in report!)

Xilinx Design Methodology The steps required in order to model, simulate and implement a circuit using the Xilinx ISE software Basic steps are as simple or as complicated as you want to make them Xilinx ISE and VHDL used again in CPE 229/269/329 and CSC 315

Basic Xilinx Design Flow 1) VHDL source code generates a description of circuit. 2) VHDL source is translated into intermediate form for use by other software used in the design flow. 3) Test Bench Waveform software generates signals to verify circuit operation using the ModelSim XE simulator. 4) Circuit inputs and outputs are “mapped” to FPGA pins externally hardwired to I/O devices on the Nexys board. 5) The circuit design is downloaded into the FPGA. (Use Digilent ExPORT for Nexys USB port) 6) Proper operation of the circuit is verified.

Create a New VHDL Source Module & Define Inputs/Outputs

Add your logic expression to the VHDL code module template Your definition of input / output signals is turned into a VHDL “Entity” Insert code here

Circuit Connections to Development Board Nexys-2 Board SW1 SW2 SW3 SW4 FPGA H18 K18 K17 L14 J14 J15 K15 K14 LDO LD1 LD2 LD3 Assign Package Pins -Maps Input/Output Circuit Signals to FPGA Pins -Puts Info in a “Constraints” File ABCDABCD F1 F2

A Little “Sage Advice” Since this is your first time using the tools, be sure to follow all of the steps, in the order given.Since this is your first time using the tools, be sure to follow all of the steps, in the order given. –Skipping steps may result in horrendously hideous outcomes that you really don’t want to experience. –A confused CAD tool is not a happy CAD tool! ;( Be sure to read the Explanations as you proceed, so that you begin to understand why you are doing what you are doingBe sure to read the Explanations as you proceed, so that you begin to understand why you are doing what you are doing.

Note for Next Week Be sure to run through the B2 Spice A/D Tutorial (on the CPE-169 website) Brief overview of the logic circuit simulation tool you will be using in next week’s lab BEFORE LAB: