FPGA-Based System Design Copyright  2004 Prentice Hall PTR Logic Design Process n Functional/ Non-functional requirements n Mapping into an FPGA n Hardware.

Slides:



Advertisements
Similar presentations
Chapter 3 Gate-Level Minimization
Advertisements

Xilinx 6.3 Tutorial Integrated Software Environment (ISE) Set up basic environment Select Gates or Modules to Be simulated (Insert Program Code) Run Waveform.
ENEL111 Digital Electronics
Simulation executable (simv)
The Verilog Hardware Description Language
CPEN Digital System Design
Verilog Intro: Part 1.
ECE Synthesis & Verification - Lecture 2 1 ECE 667 Spring 2011 ECE 667 Spring 2011 Synthesis and Verification of Digital Circuits High-Level (Architectural)
Figure 4.1. The function f (x1, x2, x3) =  m(0, 2, 4, 5, 6).
16/04/20151 Hardware Descriptive Languages these notes are taken from Mano’s book It can represent: Truth Table Boolean Expression Diagrams of gates and.
FPGA-Based System Design: Chapter 4 Copyright  2004 Prentice Hall PTR Topics n Logic synthesis. n Placement and routing.
CSE 201 Computer Logic Design * * * * * * * Verilog Modeling
1 Brief Introduction to Verilog Weiping Shi. 2 What is Verilog? It is a hardware description language Originally designed to model and verify a design.
CSE 341 Verilog HDL An Introduction. Hardware Specification Languages Verilog  Similar syntax to C  Commonly used in  Industry (USA & Japan) VHDL 
ECE 551 Digital System Design & Synthesis Lecture 08 The Synthesis Process Constraints and Design Rules High-Level Synthesis Options.
1 Pertemuan 9 Verilog HDL Matakuliah: H0362/Very Large Scale Integrated Circuits Tahun: 2005 Versi: versi/01.
1 Verilog Digital Computer Logic Kashif Bashir WWW: http//:
FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR Register-transfer Design n Basics of register-transfer design: –data paths and controllers.
Integrated Circuits Laboratory Faculty of Engineering Digital Design Flow Using Mentor Graphics Tools Presented by: Sameh Assem Ibrahim 16-October-2003.
ECE 272 Xilinx Tutorial. Workshop Goals Learn how to use Xilinx to: Draw a schematic Create a symbol Generate a testbench Simulate your circuit.
DON’T CARE CONDITIONS Functions that have unspecified output for some input combinations are called incompletely specified functions. Unspecified minterms.
Modern VLSI Design 2e: Chapter4 Copyright  1998 Prentice Hall PTR.
1 COMP541 Combinational Logic and Design Montek Singh Jan 25, 2007.
ECE 353 Computer Systems Lab I Verilog Hardware Description Language.
Hardware Description Language HDL. 2 Hardware Description Language HDL  Describes circuits and systems in text. −As a software program.  Can be processed.
CS 151 Digital Systems Design Lecture 38 Programmable Logic.
FPGA-Based System Design: Chapter 5 Copyright  2004 Prentice Hall PTR Topics n Basics of sequential machines. n Sequential machine specification. n Sequential.
FPGA-Based System Design: Chapter 4 Copyright  2004 Prentice Hall PTR HDL coding n Synthesis vs. simulation semantics n Syntax-directed translation n.
ISE. Tatjana Petrovic 249/982/22 ISE software tools ISE is Xilinx software design tools that concentrate on delivering you the most productivity available.
ASIC/FPGA design flow. FPGA Design Flow Detailed (RTL) Design Detailed (RTL) Design Ideas (Specifications) Design Ideas (Specifications) Device Programming.
System Arch 2008 (Fire Tom Wada) /10/9 Field Programmable Gate Array.
Verilog HDL. Hardware Description Language  HDL – a “language” for describing hardware  Two industry IEEE standards: Verilog VHDL (Very High Speed Integrated.
© 2003 Xilinx, Inc. All Rights Reserved For Academic Use Only Xilinx Design Flow FPGA Design Flow Workshop.
Introduction Verilog is a HARDWARE DESCRIPTION LANGUAGE (HDL) A hardware description language is a language or means used to describe or model a digital.
1 H ardware D escription L anguages Modeling Digital Systems.
FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR Topics n Design methodologies.
1 Moore’s Law in Microprocessors Pentium® proc P Year Transistors.
FPGA-Based System Design: Chapter 3 Copyright  2004 Prentice Hall PTR FPGA Fabric n Elements of an FPGA fabric –Logic element –Placement –Wiring –I/O.
FPGA-Based System Design: Chapter 3 Copyright  2004 Prentice Hall PTR Topics n FPGA fabric architecture concepts.
Modern VLSI Design 3e: Chapter 4 Copyright  1998, 2002 Prentice Hall PTR Topics n Combinational network delay. n Logic optimization.
1 An Update on Verilog Ξ – Computer Architecture Lab 28/06/2005 Kypros Constantinides.
CPEN Digital System Design
Introductory project. Development systems Design Entry –Foundation ISE –Third party tools Mentor Graphics: FPGA Advantage Celoxica: DK Design Suite Design.
1 - CPRE 583 (Reconfigurable Computing): VHDL to FPGA: A Tool Flow Overview Iowa State University (Ames) CPRE 583 Reconfigurable Computing Lecture 5: 9/7/2011.
Topics Combinational network delay.
Modern VLSI Design 3e: Chapter 8 Copyright  1998, 2002 Prentice Hall PTR Topics n Modeling with hardware description languages (HDLs).
IMPLEMENTATION OF MIPS 64 WITH VERILOG HARDWARE DESIGN LANGUAGE BY PRAMOD MENON CET520 S’03.
Verilog A Hardware Description Language (HDL ) is a machine readable and human readable language for describing hardware. Verilog and VHDL are HDLs.
CSCI-365 Computer Organization Lecture Note: Some slides and/or pictures in the following are adapted from: Computer Organization and Design, Patterson.
Introduction to ASIC flow and Verilog HDL
FPGA-Based System Design Copyright  2004 Prentice Hall PTR Topics n Modeling with hardware description languages (HDLs).
COE 202 Introduction to Verilog Computer Engineering Department College of Computer Sciences and Engineering King Fahd University of Petroleum and Minerals.
ASIC/FPGA design flow. Design Flow Detailed Design Detailed Design Ideas Design Ideas Device Programming Device Programming Timing Simulation Timing Simulation.
FPGA-Based System Design: Chapter 3 Copyright  2004 Prentice Hall PTR Topics n FPGA fabric architecture concepts.
Modern VLSI Design 3e: Chapter 8 Copyright  1998, 2002 Prentice Hall PTR Topics n Verilog register-transfer modeling: –basics using traffic light controller;
University of Maryland Baltimore County Department of Computer Science and Electrical Engineering   CMPE 212 Laboratory (Discussion 2) Hasibul Hasan
Discussion 2: More to discuss
Hardware Description Languages
Topics The logic design process..
Field Programmable Gate Array
Field Programmable Gate Array
Field Programmable Gate Array
Week 5, Verilog & Full Adder
Lecture 1.3 Hardware Description Languages (HDLs)
Levels in computer design
مدار منطقی به نام یگانه مهندس هستی مهدی قدیری
The Verilog Hardware Description Language
THE ECE 554 XILINX DESIGN PROCESS
Digital Designs – What does it take
THE ECE 554 XILINX DESIGN PROCESS
Presentation transcript:

FPGA-Based System Design Copyright  2004 Prentice Hall PTR Logic Design Process n Functional/ Non-functional requirements n Mapping into an FPGA n Hardware description languages n Physical design n Example: parity

FPGA-Based System Design Copyright  2004 Prentice Hall PTR Functional requirements n Functionality. –Inputs/output –logic networks Combinational logic Primary inputs Primary outputs

FPGA-Based System Design Copyright  2004 Prentice Hall PTR Non-functional requirements n Performance: –Clock speed is generally a primary requirement. n Size: –Determines manufacturing cost. n Power/energy: –Energy related to battery life, power related to heat. –Many digital systems are power- or energy-limited.

FPGA-Based System Design Copyright  2004 Prentice Hall PTR Mapping into an FPGA n Must choose the FPGA: –Capacity. –Pinout/package type. –Maximum speed.

FPGA-Based System Design Copyright  2004 Prentice Hall PTR Hardware description languages n Structural description: –A connection of components. n Functional description: –A set of Boolean formulas, state transitions, etc. n Simulation description: –A program designed for simulation. n Major languages: –Verilog. –VHDL. A NAND x

FPGA-Based System Design Copyright  2004 Prentice Hall PTR Logic optimization n Must transform Boolean expressions into a form that can be implemented. –Use available primitives (gates). –Meet delay, size, energy/power requirements. n Logic gates implement expressions. –Must rewrite logic to use the expressions provided by the logic gates. n Maintain functionality while meeting non- functional requirements.

FPGA-Based System Design Copyright  2004 Prentice Hall PTR Macros n Larger modules designed to fit into a particular FPGA. –Hard macro includes placement. –Soft macro does not include placement.

FPGA-Based System Design Copyright  2004 Prentice Hall PTR Physical design n Placement: –Place logic components into FPGA fabric. n Routing: –Choose connection paths through the fabric. n Configuration generation: –Generate bits required to configure FPGA.

FPGA-Based System Design Copyright  2004 Prentice Hall PTR Example: parity n Simple parity function: –P = a0 XOR a1 XOR a2 XOR a3. n Implement with Xilinx ISE.

FPGA-Based System Design Copyright  2004 Prentice Hall PTR Xilinx ISE main screen Sources in project Processes for source Source window Output

FPGA-Based System Design Copyright  2004 Prentice Hall PTR New project

FPGA-Based System Design Copyright  2004 Prentice Hall PTR New project info

FPGA-Based System Design Copyright  2004 Prentice Hall PTR Create HDL file

FPGA-Based System Design Copyright  2004 Prentice Hall PTR I/O description

FPGA-Based System Design Copyright  2004 Prentice Hall PTR I/O info

FPGA-Based System Design Copyright  2004 Prentice Hall PTR Empty Verilog description module parity(a,p); input [31:0] a; output p; endmodule

FPGA-Based System Design Copyright  2004 Prentice Hall PTR Verilog with functional code module parity(a,p); input [31:0] a; output p; assign p = ^a; endmodule

FPGA-Based System Design Copyright  2004 Prentice Hall PTR RTL schematic: top-level

FPGA-Based System Design Copyright  2004 Prentice Hall PTR RTL model: implementation

FPGA-Based System Design Copyright  2004 Prentice Hall PTR Example: simulation n Apply stimulus/test vectors. n Look at response/output vectors. n Can’t exhaustively simulate but we can exercise the module. n Simulation before synthesis is faster and easier than simulating the mapped design. –Sometimes want to simulate the mapped design.

FPGA-Based System Design Copyright  2004 Prentice Hall PTR Testbench testbench Unit Under Test (UUT) Stimulus Response

FPGA-Based System Design Copyright  2004 Prentice Hall PTR Automatically-created testbench module parity_testbench_v_tf(); // DATE: 11:48:13 11/07/2003 // MODULE: parity // DESIGN: parity // FILENAME: testbench.v // PROJECT: parity // VERSION: // Inputs reg [31:0] a; // Outputs wire p; // Bidirs // Instantiate the UUT parity uut (.a(a),.p(p) ); // Initialize Inputs ‘ifdef auto_init initial begin a = 0; end ‘endif endmodule

FPGA-Based System Design Copyright  2004 Prentice Hall PTR Test vector application code initial begin $monitor("a = %b, parity=%b\n",a,p); #10 a = 0; #10 a = 1; #10 a = 2’b10; #10 a = 2’b11; #10 a = 3’b100; #10 a = 3’b101; #10 a = 3’b110; #10 a = 3’b111; … #10 a = 1024; #10 a = 1025; #10 a = 16’b ; #10 a = 17’b ; #10 a = 17’b ; #10 a = 32’b ; #10 a = 32’b ; #10 a = 32’b ; $finish; end

FPGA-Based System Design Copyright  2004 Prentice Hall PTR Project summary