OpenCore Evaluation of
AMPP Megafunctions
 February 2004, ver 1.0                                                         Application Note 343
Introduction              The Altera Megafunction Partner Program (AMPPSM) is a community of
                          independent companies that offer reusable intellectual property for
                          Altera® devices. These intellectual property products, also known as
                          megafunctions, offer a broad range of solutions for a diverse set of FPGA
                          applications. Using megafunctions in your design saves time spent in
                          both design and verification, while maintaining a high standard of
                          quality.
                          With Altera’s free OpenCore evaluation feature, you can perform the
                          following actions:
                          ■    Simulate the behavior of a megafunction within your system
                          ■    Verify the functionality of your design, as well as evaluate its size
                               and speed quickly and easily
                          1        Altera's OpenCore feature does not support programming file
                                   generation and/or hardware evaluation. For information about
                                   these and other features of OpenCore Plus evaluation, refer to
                                   AN 320: OpenCore Plus Evaluation of Megafunctions.
                          This document describes how to instantiate an AMPP function into a
                          design and evaluate it using the OpenCore feature.
Obtaining and             To request an AMPP megafunction that supports OpenCore evaluation
                          directly from the Altera web site, perform the following steps:
Licensing an
AMPP                      1.   Point your web browser to the Altera IP MegaStoreTM web site at
                               www.altera.com/products/ip/ipm-index.html.
Megafunction
                          2.   Use the search engine to generate a table of megafunctions that fit
                               your search criteria.
                          3.   Click the name of the megafunction you wish to evaluate. The
                               product description web page displays, listing the name of the
                               AMPP partner who is offering the megafunction, and an overview
                               of the megafunction’s features.
                          4.   Click Request Free Evaluation and follow the instructions for
                               submitting a request.
Altera Corporation                                                                                   1
AN-343-1.0                                                                                 Preliminary
OpenCore Evaluation of AMPP Megafunctions
                          When you submit a request, an e-mail message containing your contact
                          and project information is sent to the AMPP megafunction partner. The
                          partner will respond to your request with an OpenCore version of the
                          megafunction and an evaluation license file.
                          1        Make sure to populate the web request with complete and
                                   accurate information. Failure to do so may jeopardize the receipt
                                   of an OpenCore megafunction.
                          1        Delivery methods for OpenCore evaluations may vary slightly
                                   for each AMPP partner. Make sure to follow the instructions
                                   provided by the AMPP partner.
                          The license file contains an Altera FEATURE line that enables compilation
                          and simulation of the megafunction in Altera's Quartus® II software
                          (Figure 1).
Figure 1. AMPP Megafunction License FEATURE Line
                          To license an AMPP megafunction for OpenCore evaluation, perform the
                          following steps:
                          1.   Open the megafunction license file in a text editor. The file should
                               contain one FEATURE line spanning two or more lines in the file.
                          2.   Open your Quartus II license.dat file in a text editor.
                          3.   Copy the FEATURE line from the megafunction license file and paste
                               it at the end of your Quartus II license file.
                          4.   Start the Quartus II software and choose License Setup (Tools
                               menu).
                          5.   Confirm that the path to your Quartus II license file appears in the
                               License File dialog box (Figure 2).
2                                                                                  Altera Corporation
Preliminary
                                                         Obtaining and Licensing an AMPP Megafunction
Figure 2. Quartus II License Setup Page of the Options Dialog Box
                                                                                           License
                                                                                           file path
                                                                                           AMPP
                                                                                           Megafunction
                                                                                           FEATURE line
                             6.   Confirm that the appropriate vendor (AMPP partner) name and
                                  product ID appear in the "Licensed AMPP/MegaCore functions"
                                  box (Figure 2).
                             You are now ready to evaluate your AMPP megafunction.
Altera Corporation                                                                                  3
                                                                                          Preliminary
OpenCore Evaluation of AMPP Megafunctions
OpenCore                 A design flow incorporating AMPP megafunctions and using the
                         OpenCore evaluation feature is outlined in Figure 3.
Megafunction
Design Flow              Figure 3. AMPP Megafunction OpenCore Design Flow
                                                              Install the megafunction.
                                                                Set the megafunction
                                         Simulate your         parameters, instantiate
                                            design                  the function in
                                                              your design, and compile
                                                                  your design in the
                                                                 Quartus II software.
                                                             Purchase the license from
                                                              the AMPP megafunction
                                                                     vendor
                                                              Verify the design in your
                                                                       system
                         Install the megafunction
                         Each AMPP partner provides instructions on how to install their product
                         into the Altera design environment. It is important to follow the
                         directions carefully, since many products require multiple installation
                         steps.
                         Parameterize, Instantiate, and Compile
                         Some AMPP megafunctions are designed with a set of user-selectable
                         parameters. The OpenCore design flow allows you to evaluate the impact
                         of different parameter settings on the overall design. These options
                         should be set prior to compilation in the Quartus II software. Refer to the
                         documentation included by the AMPP partner on how to instantiate the
                         megafunction and set any applicable parameters.
                         Once you have properly instantiated the megafunction into your design,
                         compile the Quartus II project and evaluate resource utilization and static
                         timing analysis results.
4                                                                                     Altera Corporation
Preliminary
                                                                                    Conclusion
                f    Refer to the Introduction to Quartus II Manual for information on
                     compiling your design using the Quartus II software.
                     Simulate
                     After successful compilation, you can simulate using the Quartus II
                     software. You can perform the compilation and simulation steps as many
                     times as required.
                     1        Some AMPP vendors also support simulation platforms outside
                              the Quartus II software. Contact the AMPP partner for details.
                f    Refer to the Introduction to Quartus II Manual for information on
                     simulating your design using the Quartus II software.
                     Purchase
                     When the you are satisfied with the results of the megafunction
                     evaluation, you can purchase a license for the megafunction. All
                     negotiation involving licensing, purchase, and deliverables takes place
                     exclusively between you and the AMPP partner.
Conclusion           The OpenCore feature allows you to evaluate AMPP megafunctions risk-
                     free. You can use the OpenCore feature to instantiate, compile, and
                     simulate an AMPP megafunction before deciding to purchase the
                     megafunction from the AMPP partner.
Altera Corporation                                                                           5
                                                                                   Preliminary
OpenCore Evaluation of AMPP Megafunctions
                         Copyright © 2004 Altera Corporation. All rights reserved. Altera, The Programmable Solutions Company,
                         the stylized Altera logo, specific device designations, and all other words and logos that are identified as
                         trademarks and/or service marks are, unless noted otherwise, the trademarks and service marks of Altera
                         Corporation in the U.S. and other countries. All other product or service names are the property of their re-
                         spective holders. Altera products are protected under numerous U.S. and foreign patents and pending
101 Innovation Drive     applications, maskwork rights, and copyrights. Altera warrants performance of its semiconductor products
San Jose, CA 95134       to current specifications in accordance with Altera's standard warranty, but reserves the right to make chang-
(408) 544-7000           es to any products and services at any time without notice. Altera assumes no responsibility or liability
                         arising out of the application or use of any information, product, or service described
www.altera.com           herein except as expressly agreed to in writing by Altera Corporation. Altera customers
Applications Hotline:    are advised to obtain the latest version of device specifications before relying on any pub-
(800) 800-EPLD           lished information and before placing orders for products or services.
Literature Services:
lit_req@altera.com
6                                                                                                          Altera Corporation
Preliminary