FPGA and ASIC Technology Comparison - 1 © 2009 Xilinx, Inc. All Rights Reserved Global Timing Constraints.

Slides:



Advertisements
Similar presentations
How to Use The 3 AXI Configurations
Advertisements

How to Create Area Constraints with PlanAhead
How to Convert a PLB-based Embedded System to an AXI-based System
Architecture Wizard and I/O Planning Xilinx Training.
What are FPGA Power Management Software Options?
Power Estimation Xilinx Training.
How Do I Resolve Routing Congestion?
Spartan-3 FPGA HDL Coding Techniques
7 Series Memory Resources Part 1. Objectives After completing this module, you will be able to: Describe the dedicated block memory resources in the 7.
7 Series DSP Resources Part 1.
7 Series CLB Architecture
Synthesis Options. Welcome If you are new to FPGA design, this module will help you synthesize your design properly These synthesis techniques promote.
Core Generator Software System. Describe the differences between LogiCORE™ and AllianceCORE solutions Identify two benefits of using cores in your designs.
What Design Techniques Help Avoid Routing Congestion?
Timing Closure. Page 2 Welcome This module will help you understand how your synthesis tool, the ISE software, HDL coding style, and other factors that.
7 Series Memory Controllers
FPGA and ASIC Technology Comparison - 1 © 2009 Xilinx, Inc. All Rights Reserved Synthesis Options.
7 Series Slice Flip-Flops
How to Use the Three AXI Configurations
Xilinx Analog Mixed Signal XADC Evaluation Note: Agile Mixed Signal is Now Analog Mixed Signal Xilinx Training.
Architecture Wizard and I/O Planning. Architecture Wizard and the I/O Planner 2 © Copyright 2011 Xilinx Objectives After completing this module, you will.
Innovations in Structured Products October 25, 2010 An Innovator’s Dilemma?
ChipScope Pro Software
What are FPGA Power Management Design Techniques?
7 Series Memory Controllers
© 2010 Copyright Xilinx Timing Closure. © Copyright 2010 XilinxTiming Closure REL Page 2 Welcome  This module will help you understand how your synthesis.
How Do I Plan to Power My FPGA?
Xilinx Confidential – Internal © 2009 Xilinx, Inc. All Rights Reserved Core Generator Software System.
Achieving Timing Closure. Achieving Timing Closure - 2 © Copyright 2010 Xilinx Objectives After completing this module, you will be able to:  Describe.
What are the Benefits of Area Constraints?
FPGA vs. ASIC Design Flow
Xilinx Training Xilinx Analog Mixed Signal EDK Design Flow Note: Agile Mixed Signal is Now Analog Mixed Signal.
Xilinx Analog Mixed Signal Solution HDL Design Flow Note: Agile Mixed Signal is Now Analog Mixed Signal Hello, and welcome to this recorded e-learning.
Achieving Timing Closure. Objectives After completing this module, you will be able to: Describe a flow for obtaining timing closure Interpret a timing.
XST Synthesis Options. Welcome If you are new to FPGA design, this module will help you use XST to synthesize your design optimally These synthesis techniques.
Global Timing Constraints. Objectives After completing this module you will be able to… Apply global timing constraints to a simple synchronous design.
FPGA and ASIC Technology Comparison - 1 © 2009 Xilinx, Inc. All Rights Reserved Basic FPGA Configuration Part 1.
FPGA and ASIC Technology Comparison - 1 © 2009 Xilinx, Inc. All Rights Reserved Virtex-5 FPGA Coding Techniques, Part 2.
FPGA and ASIC Technology Comparison - 1 © 2009 Xilinx, Inc. All Rights Reserved Power Estimation.
FPGA and ASIC Technology Comparison - 1 © 2009 Xilinx, Inc. All Rights Reserved How Do I Plan to Power My FPGA?
Global Timing Constraints FPGA Design Workshop. Objectives  Apply timing constraints to a simple synchronous design  Specify global timing constraints.
FPGA and ASIC Technology Comparison - 1 © 2009 Xilinx, Inc. All Rights Reserved How do I Get Started with PlanAhead?
FPGA and ASIC Technology Comparison - 1 © 2009 Xilinx, Inc. All Rights Reserved How to Convert a PLB-based Embedded System to an AXI-based System.
© 2003 Xilinx, Inc. All Rights Reserved Reading Reports Xilinx: This module was completely redone. Please translate entire module Some pages are the same.
Xilinx Confidential – Internal © 2009 Xilinx, Inc. All Rights Reserved ChipScope Pro Software +Labs.
What Design Techniques Help Avoid Routing Congestion?
FPGA vs. ASIC Design Flow
Conditions and Terms of Use
© 2003 Xilinx, Inc. All Rights Reserved FPGA Design Techniques.
FPGA and ASIC Technology Comparison - 1 © 2009 Xilinx, Inc. All Rights Reserved What are FPGA Power Management Software Options?
FPGA and ASIC Technology Comparison - 1 © 2009 Xilinx, Inc. All Rights Reserved XST Synthesis Options.
© 2003 Xilinx, Inc. All Rights Reserved For Academic Use Only Xilinx Design Flow FPGA Design Flow Workshop.
FPGA and ASIC Technology Comparison - 1 © 2009 Xilinx, Inc. All Rights Reserved Basic FPGA Architecture (Virtex-6) Clocking Resources.
FPGA and ASIC Technology Comparison - 1 © 2009 Xilinx, Inc. All Rights Reserved Spartan-3 FPGA Coding Techniques Part 1.
Tools - Implementation Options - Chapter15 slide 1 FPGA Tools Course Implementation Options.
© 2009 Xilinx, Inc. All Rights Reserved Part 2 Virtex-6 and Spartan-6 HDL Coding Techniques.
This material exempt per Department of Commerce license exception TSU Reading Reports.
This material exempt per Department of Commerce license exception TSU Xilinx Tool Flow.
© 2003 Xilinx, Inc. All Rights Reserved Global Timing Constraints FPGA Design Flow Workshop.
Oracle Fusion Applications 11gR1 ( ) Functional Overview (L2) Manage Inbound Logistics (L3) Manage Receipts.
Oracle Fusion Applications 11gR1 ( ) Functional Overview (L2) Manage Outbound Logistics (L3) Pick Loads.
Oracle Fusion Applications 11gR1 ( ) Functional Overview (L2) Manage Inbound Logistics (L3) Put Away Loads.
Oracle Fusion Applications 11gR1 ( ) Functional Overview (L2) Manage Inbound Logistics (L3) Manage Supplier Returns.
Oracle Fusion Applications 11gR1 ( ) Functional Overview (L2) Manage Inbound Logistics (L3) Manage and Disposition Inventory Returns.
Oracle Fusion Applications 11gR1 ( ) Functional Overview (L2) Manage Inbound Logistics (L3) Inspect Material.
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Oracle Proprietary and Confidential. 1.
FPGA Tools Course Basic Constraints
FPGA Tools Course Timing Analyzer
Power Estimation.
2019 MEDICARE AGE-IN STUDY SENIOR MARKET INSIGHTS SERVICE Part IV
Presentation transcript:

FPGA and ASIC Technology Comparison - 1 © 2009 Xilinx, Inc. All Rights Reserved Global Timing Constraints

© 2007 Xilinx, Inc. All Rights Reserved FPGA and ASIC Technology Comparison - 2 © 2007 Xilinx, Inc. All Rights Reserved FPGA and ASIC Technology Comparison - 2 © 2009 Xilinx, Inc. All Rights Reserved Objectives After completing this module you will be able to…  Apply global timing constraints to a simple synchronous design  Use the Xilinx Constraints Editor to specify global timing constraints

© 2007 Xilinx, Inc. All Rights Reserved FPGA and ASIC Technology Comparison - 3 © 2007 Xilinx, Inc. All Rights Reserved FPGA and ASIC Technology Comparison - 3 © 2009 Xilinx, Inc. All Rights Reserved The Effects of Timing Constraints  With global timing constraints  All timing paths are evaluated  I/O paths are improved (CLBs are place closer to I/O pins)  Without global timing constraints  Logic tends to be grouped to improve internal timing at the expense of I/O timing

© 2007 Xilinx, Inc. All Rights Reserved FPGA and ASIC Technology Comparison - 4 © 2007 Xilinx, Inc. All Rights Reserved FPGA and ASIC Technology Comparison - 4 © 2009 Xilinx, Inc. All Rights Reserved Timing Constraints Define Your Performance Objectives  Timing constraints define your timing objectives – Over-constraining gets you nothing, but costs extra PAR time – Always use timing constraints, even when your timing objective is modest  Unrealistic timing constraints will cause the tools to stop – Your synthesis tool’s timing report and the Post-Map Static Timing Report contain performance estimates – Both will tell you if your constraints are realistic  After implementing, review the Post-Place & Route Static Timing Report to determine if your objectives were met – If your constraints failed, use the Timing Report to determine the cause

© 2007 Xilinx, Inc. All Rights Reserved FPGA and ASIC Technology Comparison - 5 © 2007 Xilinx, Inc. All Rights Reserved FPGA and ASIC Technology Comparison - 5 © 2009 Xilinx, Inc. All Rights Reserved Path Endpoints  Path Endpoints are… – I/O pads – Synchronous elements FFs, Latches, Rams, DSP slices, SRLs, etc. Flip-FlopsLatches RAMs DSP48  Path Endpoints do NOT include… – LUTs – Nets, or any other asynchronous element

© 2007 Xilinx, Inc. All Rights Reserved FPGA and ASIC Technology Comparison - 6 © 2007 Xilinx, Inc. All Rights Reserved FPGA and ASIC Technology Comparison - 6 © 2009 Xilinx, Inc. All Rights Reserved Creating Timing Constraints Step 1: Create groups of path endpoints Step 2: Specify a timing requirement between the groups  Creating timing constraints is a two step process  Global timing constraints use a default grouping of path endpoints which makes it easy to constrain your design

© 2007 Xilinx, Inc. All Rights Reserved FPGA and ASIC Technology Comparison - 7 © 2007 Xilinx, Inc. All Rights Reserved FPGA and ASIC Technology Comparison - 7 © 2009 Xilinx, Inc. All Rights Reserved PERIOD Constraint Q FLOP1 DQ FLOP3 D BUFG CLK ADATA OUT2 OUT1 Q FLOP5 D Q FLOP4 D BUS [7..0] CDATA Q FLOP2 D  The PERIOD constraint covers paths between synchronous elements on a single clock domain – In this example, there is one clock signal (CLK) – There are five synchronous elements (all FFs) attach to the clock which means there are five path endpoints, in this case – There are three delay paths constrained between those five FFs

© 2007 Xilinx, Inc. All Rights Reserved FPGA and ASIC Technology Comparison - 8 © 2007 Xilinx, Inc. All Rights Reserved FPGA and ASIC Technology Comparison - 8 © 2009 Xilinx, Inc. All Rights Reserved PERIOD Constraint  The PERIOD constraint uses the most accurate timing information, so it considers…  Clock skew between the source and destination flip-flops  Synchronous elements clocked on the negative edge  Unequal clock duty cycles  Clock input jitter  The Implementation tools use this information to place and route your design

© 2007 Xilinx, Inc. All Rights Reserved FPGA and ASIC Technology Comparison - 9 © 2007 Xilinx, Inc. All Rights Reserved FPGA and ASIC Technology Comparison - 9 © 2009 Xilinx, Inc. All Rights Reserved Example of the PERIOD Constraint  Assume… – 50-percent duty cycle on CLK – PERIOD constraint of 10 ns – Because FF2 will be clocked on the falling edge of CLK, the path between the two flip-flops will be constrained to 50 percent of 10 ns = 5 ns – The implementation tools will automatically take into account that you are triggering one FF on the rising edge and another on the negative edge BUFG INV CLK FF1 FF2

© 2007 Xilinx, Inc. All Rights Reserved FPGA and ASIC Technology Comparison - 10 © 2007 Xilinx, Inc. All Rights Reserved FPGA and ASIC Technology Comparison - 10 © 2009 Xilinx, Inc. All Rights Reserved Clock Input Jitter  The Xilinx Constraints Editor allows you to enter the input clock jitter  The Implementation tools will then use this information to manage the place and route solution found so the distributed clocks jitter can be tolerated

© 2007 Xilinx, Inc. All Rights Reserved FPGA and ASIC Technology Comparison - 11 © 2007 Xilinx, Inc. All Rights Reserved FPGA and ASIC Technology Comparison - 11 © 2009 Xilinx, Inc. All Rights Reserved OFFSET IN/OUT Constraints = Combinatorial Logic CLK ADATA OUT2 OUT1 Q FLOP DQ D Q D Q D BUS [7..0] CDATA Q FLOP D BUFG OFFSET INOFFSET OUT  The Offset In constraint covers paths from input pads to synchronous elements  The Offset Out constraint covers paths from synchronous elements to output pads

© 2007 Xilinx, Inc. All Rights Reserved FPGA and ASIC Technology Comparison - 12 © 2007 Xilinx, Inc. All Rights Reserved FPGA and ASIC Technology Comparison - 12 © 2009 Xilinx, Inc. All Rights Reserved OFFSET IN/OUT Constraints  The Offset In/Out constraints takes the clock delay into account to report an effective input and output delay  OFFSET IN = T_data_In - T_clk_In  OFFSET OUT = T_data_Out + T_clk_Out Out Clk T_data _In T_data _Out T_clk _In OFFSET-OUT OFFSET-IN In T_clk _Out

© 2007 Xilinx, Inc. All Rights Reserved FPGA and ASIC Technology Comparison - 13 © 2007 Xilinx, Inc. All Rights Reserved FPGA and ASIC Technology Comparison - 13 © 2009 Xilinx, Inc. All Rights Reserved OFFSET Constraints Reporting  Timing constraint reporting is handled by the Timing Analyzer  The Offset In/Out constraints take into account the clock delay and jitter

© 2007 Xilinx, Inc. All Rights Reserved FPGA and ASIC Technology Comparison - 14 © 2007 Xilinx, Inc. All Rights Reserved FPGA and ASIC Technology Comparison - 14 © 2009 Xilinx, Inc. All Rights Reserved Apply Your Knowledge Which paths are constrained by a Period constraint on CLK1? – 1 path is constrained, FF to Latch Which paths are constrained by a Period constraint on CLK2? – No paths are constrained, only 1 synchronous element

© 2007 Xilinx, Inc. All Rights Reserved FPGA and ASIC Technology Comparison - 15 © 2007 Xilinx, Inc. All Rights Reserved FPGA and ASIC Technology Comparison - 15 © 2009 Xilinx, Inc. All Rights Reserved Launching the Constraints Editor  Expand User Constraints in the Processes window  Double-click Create Timing Constraints

© 2007 Xilinx, Inc. All Rights Reserved FPGA and ASIC Technology Comparison - 16 © 2007 Xilinx, Inc. All Rights Reserved FPGA and ASIC Technology Comparison - 16 © 2009 Xilinx, Inc. All Rights Reserved Entering a PERIOD Constraint  PERIOD constraints can be entered by clicking Clock Domains  Constraints can be deleted by right- clicking the constraint  Right-click here and select Create Constraint to make a PERIOD constraint

© 2007 Xilinx, Inc. All Rights Reserved FPGA and ASIC Technology Comparison - 17 © 2007 Xilinx, Inc. All Rights Reserved FPGA and ASIC Technology Comparison - 17 © 2009 Xilinx, Inc. All Rights Reserved Multiple UCF Files  Select which UCF to edit  Many designers keep their timing constraints in a separate UCF file – User Constraints File (user editable in many text editors) – Some designers like to keep their pin assignments, area constraints, and placement constraints in a separate UCF

© 2007 Xilinx, Inc. All Rights Reserved FPGA and ASIC Technology Comparison - 18 © 2007 Xilinx, Inc. All Rights Reserved FPGA and ASIC Technology Comparison - 18 © 2009 Xilinx, Inc. All Rights Reserved PERIOD Constraint Options  TIMESPEC name  Specific constraint value – Active clock edge – Duty cycle  Relative to other PERIOD TIMESPEC – Useful for designs with multiple clock signals – Can define both frequency and phase relationships  Input jitter

© 2007 Xilinx, Inc. All Rights Reserved FPGA and ASIC Technology Comparison - 19 © 2007 Xilinx, Inc. All Rights Reserved FPGA and ASIC Technology Comparison - 19 © 2009 Xilinx, Inc. All Rights Reserved Entering OFFSET Constraints  Global OFFSET IN and OFFSET OUT constraints can be made from Inputs or Outputs  Right-click here and select Create Constraint to make an OFFSET constraint

© 2007 Xilinx, Inc. All Rights Reserved FPGA and ASIC Technology Comparison - 20 © 2007 Xilinx, Inc. All Rights Reserved FPGA and ASIC Technology Comparison - 20 © 2009 Xilinx, Inc. All Rights Reserved Apply Your Knowledge Given the system diagram below, what values would you put in the Constraints Editor so that the system will run at 100 MHz? – Assume no clock skew between devices 4 ns 5 ns Upstream Device Downstream Device

© 2007 Xilinx, Inc. All Rights Reserved FPGA and ASIC Technology Comparison - 21 © 2007 Xilinx, Inc. All Rights Reserved FPGA and ASIC Technology Comparison - 21 © 2009 Xilinx, Inc. All Rights Reserved Answer Given the system diagram below, what values would you put in the Constraints Editor so that the system will run at 100 MHz?  Answer: PERIOD = 10 ns, OFFSET IN = 6 ns, and OFFSET OUT = 5 ns 4 ns 5 ns 10 ns 6 ns 5 ns Upstream Device Downstream Device

© 2007 Xilinx, Inc. All Rights Reserved FPGA and ASIC Technology Comparison - 22 © 2007 Xilinx, Inc. All Rights Reserved FPGA and ASIC Technology Comparison - 22 © 2009 Xilinx, Inc. All Rights Reserved Summary  Performance expectations are communicated with timing constraints  The PERIOD constraint covers delay paths between synchronous elements  The OFFSET IN constraint covers delay paths from input pins to synchronous elements  The OFFSET OUT constraint covers delay paths from synchronous elements to output pins  Use the Constraints Editor to create timing constraints

© 2007 Xilinx, Inc. All Rights Reserved FPGA and ASIC Technology Comparison - 23 © 2007 Xilinx, Inc. All Rights Reserved FPGA and ASIC Technology Comparison - 23 © 2009 Xilinx, Inc. All Rights Reserved Where Can I Learn More?  Constraints Guide – Help  Software Manuals Entry strategies (UCF syntax and HDL syntax) Advanced timing constraints  Timing Constraints User Guide – Help  Software Manuals XST synthesis constraints Placement and Area constraints UCF syntax  Xilinx Training – Path Specific Constraints are included with the Designing for Performance course Xilinx tools and architecture courses Basic FPGA architecture, Basic HDL Coding Techniques, and other Free training videos!

© 2007 Xilinx, Inc. All Rights Reserved FPGA and ASIC Technology Comparison - 24 © 2007 Xilinx, Inc. All Rights Reserved FPGA and ASIC Technology Comparison - 24 © 2009 Xilinx, Inc. All Rights Reserved Xilinx is disclosing this Document and Intellectual Propery (hereinafter “the Design”) to you for use in the development of designs to operate on, or interface with Xilinx FPGAs. Except as stated herein, none of the Design may be copied, reproduced, distributed, republished, downloaded, displayed, posted, or transmitted in any form or by any means including, but not limited to, electronic, mechanical, photocopying, recording, or otherwise, without the prior written consent of Xilinx. Any unauthorized use of the Design may violate copyright laws, trademark laws, the laws of privacy and publicity, and communications regulations and statutes. Xilinx does not assume any liability arising out of the application or use of the Design; nor does Xilinx convey any license under its patents, copyrights, or any rights of others. You are responsible for obtaining any rights you may require for your use or implementation of the Design. Xilinx reserves the right to make changes, at any time, to the Design as deemed desirable in the sole discretion of Xilinx. Xilinx assumes no obligation to correct any errors contained herein or to advise you of any correction if such be made. Xilinx will not assume any liability for the accuracy or correctness of any engineering or technical support or assistance provided to you in connection with the Design. THE DESIGN IS PROVIDED “AS IS" WITH ALL FAULTS, AND THE ENTIRE RISK AS TO ITS FUNCTION AND IMPLEMENTATION IS WITH YOU. YOU ACKNOWLEDGE AND AGREE THAT YOU HAVE NOT RELIED ON ANY ORAL OR WRITTEN INFORMATION OR ADVICE, WHETHER GIVEN BY XILINX, OR ITS AGENTS OR EMPLOYEES. XILINX MAKES NO OTHER WARRANTIES, WHETHER EXPRESS, IMPLIED, OR STATUTORY, REGARDING THE DESIGN, INCLUDING ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE, AND NONINFRINGEMENT OF THIRD-PARTY RIGHTS. IN NO EVENT WILL XILINX BE LIABLE FOR ANY CONSEQUENTIAL, INDIRECT, EXEMPLARY, SPECIAL, OR INCIDENTAL DAMAGES, INCLUDING ANY LOST DATA AND LOST PROFITS, ARISING FROM OR RELATING TO YOUR USE OF THE DESIGN, EVEN IF YOU HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. THE TOTAL CUMULATIVE LIABILITY OF XILINX IN CONNECTION WITH YOUR USE OF THE DESIGN, WHETHER IN CONTRACT OR TORT OR OTHERWISE, WILL IN NO EVENT EXCEED THE AMOUNT OF FEES PAID BY YOU TO XILINX HEREUNDER FOR USE OF THE DESIGN. YOU ACKNOWLEDGE THAT THE FEES, IF ANY, REFLECT THE ALLOCATION OF RISK SET FORTH IN THIS AGREEMENT AND THAT XILINX WOULD NOT MAKE AVAILABLE THE DESIGN TO YOU WITHOUT THESE LIMITATIONS OF LIABILITY. The Design is not designed or intended for use in the development of on-line control equipment in hazardous environments requiring fail-safe controls, such as in the operation of nuclear facilities, aircraft navigation or communications systems, air traffic control, life support, or weapons systems (“High-Risk Applications”). Xilinx specifically disclaims any express or implied warranties of fitness for such High-Risk Applications. You represent that use of the Design in such High-Risk Applications is fully at your risk. © 2009 Xilinx, Inc. All rights reserved. XILINX, the Xilinx logo, and other designated brands included herein are trademarks of Xilinx, Inc. All other trademarks are the property of their respective owners. Trademark Information