Presentation is loading. Please wait.

Presentation is loading. Please wait.

FPGA and ASIC Technology Comparison - 1 © 2009 Xilinx, Inc. All Rights Reserved XST Synthesis Options.

Similar presentations


Presentation on theme: "FPGA and ASIC Technology Comparison - 1 © 2009 Xilinx, Inc. All Rights Reserved XST Synthesis Options."— Presentation transcript:

1 FPGA and ASIC Technology Comparison - 1 © 2009 Xilinx, Inc. All Rights Reserved XST Synthesis Options

2 Welcome If you are new to FPGA design, this module will help you use XST to synthesize your design optimally These synthesis techniques promote fast and efficient FPGA design development

3 Describe an approach to using XST synthesis options to obtain higher performance and gain timing closure Use XST to get the most out of your HDL After completing this module, you will able to:

4 © 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 Closure

5 © 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 Synthesis Options These are the most helpful XST synthesis options that can help you obtain your performance and area objectives Synthesis Constraints (Timing-driven synthesis) FSM Encoding Register Balancing Register Duplication Keep Hierarchy Resource Sharing These options were covered in the Synthesis Options REL

6 © 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 Synthesis Options Most common options HDL Options Coding style dependent options Xilinx Specific Options Architecture specific options

7 © 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 XCF Timing Constraints The XCF file should be placed in your project directory and the location specified Note… if you are not going to use timing constraints for synthesis, it is recommended that you use the Global Optimization setting All Clock Nets…optimizes paths between registers Offset In Before…input paths Offset Out After…output paths Input to Output Pad…combinatorial paths Max Delay…(all of the above)

8 © 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 XCF Timing Constraints Period NET netname PERIOD = value [{HIGH | LOW} value]; Offset In/Out OFFSET = {IN | OUT} offset_time [units] {BEFORE | AFTER} clk_name [TIMEGRP group_name]; For more information about the basics of timing constraints, refer to the Global Timing Constraints REL Do not over-constrain your design

9 © 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 XST Switches LUT Combining Recall that the 6-input LUT is actually two 5-input LUTs XST looks for functions that use the same five inputs and tries to pair them Recommended for Virtex-5, Spartan-6, and Virtex-6 architectures Reduce Control Sets XST will use LUT resources instead of CE and synchronous SET/RESET All four flip-flops in one slice share the same CE, SET, and RESET (control set) Too many different control sets limits packing Recommended for Virtex-5, Spartan-6, and Virtex-6 architect ures

10 © 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 XST Features Inference of SRL for shift register with set/reset XST uses SRL resources if the HDL description contains a single asynchronous, synchronous set, or synchronous reset signal This will require extra logic, because SRL does not support a set or reset functionality Inference is done if the shift register has at least four stages For more information about properly coding your control signals to get optimum results, please review the Virtex-6 and Spartan-6 HDL Coding Techniques REL

11 © 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 XST Synthesis Options Optimization Goal Optimization Effort Use Synthesis Constraints File Specify constraint filename Optimization Goal Write Timing Constraints (Export Constraints)

12 © 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 XST HDL Options FSM Encoding Algorithm and Safe Implementation Case Implementation Style RAM, ROM, and Multiplexer Extraction and Style Shift Register and Logical Shifter Extraction Resource Sharing

13 © 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 XST Xilinx Specific Options Add I/O Buffers Max Fanout and Register Duplication Equivalent Register Removal Register Balancing Move First and Last Flip- Flop Stage Pack Registers into IOBs

14 © 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 Design Goals and Strategies Easy way to set multiple synthesis properties Choose a design goal and strategy which maps to a collection of settings* Balanced, Minimum Run-time, Power Optimization, Timing Performance A strategy is a specific set of settings associated with a goal Some settings are fixed within a strategy and others can be altered

15 © 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 Effects of Design Goals Note the Lock symbol Indicates that this setting is governed by the Design Goal and Strategy settings and cannot be changed without changing the Strategy Unlocked settings can be changed Notice that the property display level is set to Advanced

16 © 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 Best Strategy (1)Use the standard XST Synthesis Options that best suit your design (2)Use XCF Timing Constraints during synthesis (3)Enable packing registers into IOB Best aid for I/O timing (4)Use the Reduce Control Sets option Requires optimum HDL coding Supports Virtex-6 and Spartan-6 (5) Use the Design Goals and Strategy

17 © 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 Summary The basics still apply Your HDL coding style can affect synthesis results Infer resources whenever possible Use synchronous design techniques Don’t forget to analyze each synthesis result for logic inference and timing Take advantage of the synthesis options provided to help you meet your timing objectives Just like we covered in the Synthesis Options REL Use timing constraints during synthesis to achieve higher performance Use the Reduce Control Sets option Pack registers into IOBs Last option to consider is the Design Goals and Strategies

18 © 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 Where Can I Learn More? Software Manuals Start  Xilinx ISE Design Suite 12.1  ISE Design Tools  Documentation  Software Manuals This includes the Synthesis & Simulation Design Guide This guide has example inferences of many architectural resources XST User Guide HDL language constructs, coding recommendations, and synthesis options Constraints Guide All Synthesis and Implementation constraints Xilinx Training www.xilinx.com/training Xilinx tools and architecture courses Hardware description language courses Basic HDL Coding Techniques, Spartan-6 and Virtex-6 Coding Techniques and other Free training videos!

19 © 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 Recommended REL Modules Additional FREE Recorded E-Learning modules are available for you to improve your HDL coding style Basic HDL Coding Techniques, part 1 and 2 Design guidelines (good design practices) Best ways to pipeline your design Finite State Machine design Virtex-6 and Spartan-6 HDL Coding Techniques, part 1 and 2 Coding for hardware resources – SRL, multiplexers, carry logic, and GSR Coding to reduce your design size and improve your speed – Managing your control signals (sets, resets, clocks, clock enables) – Block RAM and DSP slice

20 © 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 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


Download ppt "FPGA and ASIC Technology Comparison - 1 © 2009 Xilinx, Inc. All Rights Reserved XST Synthesis Options."

Similar presentations


Ads by Google