Home
User Guide
Contents
1. Simulation Altera Corporation March 2007 The Quartus II software performs analysis and elaboration to build the structure of your design during compilation To locate your megafunction in the Project Navigator window expand the compilation hierarchy and find the megafunction by its name To search for node names within the megafunction using the Node Finder in the Look in box click Browse and select the megafunction in the Hierarchy box The Quartus II Simulation tool provides an easy to use integrated solution for performing simulations The following sections describe the simulation options Quartus II Simulation With the Quartus II Simulator you can perform two types of simulations functional and timing A functional simulation in the Quartus II program enables you to verify the logical operation of your design without taking into consideration the timing delays in the FPGA This simulation is performed using only RTL code When performing a functional simulation add only signals that exist before synthesis You can find these signals with the Registers pre synthesis Design Entry or Pin filters in the Node Finder The top level ports of megafunctions are found using these three filters In contrast timing simulation in the Quartus II software verifies the operation of your design with annotated timing information This simulation is performed using the post place and route netlist When performing a timing simul
2. amp 1 0 Interfaces Memory Compiler Parallel Flash Loade Serial Flash Loader Which device family will you be Stratis Il v using Which type of output file do you want to create AHDL C VHDL C Verilog HDL What name do you want for the output file Browse _example Quartusll unzipped lpm_abs lpm_abs lpm_abs_ex 4B5 Generate clear box netlist file instead of a default wrapper file for use with supported EDA synthesis tools only Return to this page for another create operation Note To compile a project successfully in the Quartus II software your design files must be in the project directory in the global user libraries specified in the Options dialog box Tools menu or a user ns in the User Libraries page of the Settings dialog box Assignments menu Your current user library directories are Cancel lt Back Next gt Finish 8 Inthe Which device family will you be using list select Stratix II 9 Inthe Which type of output file do you want to create section select the AHDL option 10 Name the output file lpm_abs_ex ABS 11 Click Next Page 3 appears Figure 2 4 2 8 Ipm abs Megafunction User Guide Altera Corporation March 2007 Getting Started Figure 2 4 MegaWizard Plug In Manager LPM ABS Page 3 of 5 MegaWizard Plug In Manager LPM_ABS page 3 of 5 LPM_ABS Version 6 0 ameter 2 Simulation 3 Summary Settings Library Page ABS
3. com Altera literature services lit req altera com 1 lit req Q9 altera com 1 Non technical customer 800 767 3753 408 544 7000 service 7 00 a m to 5 00 p m Pacific Time 7 30 a m to 5 30 p m Pacific Time FTP site ftp altera com ftp altera com Note to table 1 You can also contact your local Altera sales office or sales representative Altera Corporation M March 2007 Ipm abs Megafunction User Guide Typographic Conventions Typographic Conventions This document uses the typographic conventions shown below Visual Cue Bold Type with Initial Capital Letters Meaning Command names dialog box titles checkbox options and dialog box options are shown in bold initial capital letters Example Save As dialog box bold type Italic Type with Initial Capital Letters Italic type External timing parameters directory names project names disk drive names filenames filename extensions and software utility names are shown in bold type Examples fmax qdesigns directory d drive chiptrip gdf file Document titles are shown in italic type with initial capital letters Example AN 75 High Speed Board Design Internal timing parameters and variables are shown in italic type Examples tpa n 1 Variable names are enclosed in angle brackets lt gt and shown in italic type Example lt file name gt lt project name gt pof file Initial Capital Letters Keyboard k
4. tdf 4 0 ata 3 0 result 3 0 3 overflow How wide should the bus be pul that no positive equivalent e 12 On Page 3 for the How wide should the bus be option select 4 13 Select Create an overflow output to indicate that no positive equivalent exists 14 Click Finish Page 5 appears Altera Corporation 2 9 March 2007 Ipm abs Megafunction User Guide Design Example 4 Bit Absolute Function Figure 2 5 MegaWizard Plug In Manager LPM ABS Page 5 of 5 MegaWizard Plug In Manager LPM_ABS page 5 of 5 Summary dj LPM_ABS Yersion 6 0 ESENIN Summary Page When the Finish button is pressed the MegaWizard Plug In Manager will create ABS tdf the checked files in the Following list You may choose to include or exclude a file by checking or unchecking its corresponding checkbox respectively The state of data 3 0 result 3 0 checkboxes will be remembered for the next MegaWizard Plug In Manager overflow E session The MegawWizard Plug In Manager will create these files in the directory C Documents and Settinact chlarcaniNaclrant WewlFilactDraiacte MansfinctinnetInm aheliMacian av Y ABS tdf Variation file O ABS inc AHDL Include file O amp BS cmp VHDL Component declaration file 41 ABS bsf Quartus symbol file O ABS_inst tdf Instantiation template file 15 Make sure the Variation file tdf and Quartus symbol file bsf are selected and click Finish The ABS
5. Absolute Value in Quartus Functional Results Simulate the 4 Bit Absolute Value in ModelSim Altera a CONCISO a reete tre ire mis t En e vee eder dei pa e EE EET ean Gates ped 2 15 Chapter 3 Specifications Ports arid Paramieters u a ida co ER ERR 3 1 Altera Corporation iii Ipm abs Megafunction User Guide Contents iv Altera Corporation Ipm abs Megafunction User Guide Ae About this User Guide Document The table below displays the revision history for the chapters in this User s s Guide Revision History ee and Changes Made Summary of Changes March 2007 Added Cyclone III support to the list of v2 2 supported devices December 2006 Added Stratix 11 support to the list of v2 1 supported devices May 2006 Updated for Quartus 6 0 software release v2 0 September 200 Initial release v1 0 How to Contact For the most up to date information about Altera products go to the Altera world wide web site at www altera com For technical support on Altera this product go to www altera com mysupport For additional information about Altera products consult the sources shown below Information Type USA amp Canada All Other Locations Technical support www altera com mysupport altera com mysupport 800 800 EPLD 3753 408 544 7000 1 7 00 a m to 5 00 p m Pacific Time 7 00 a m to 5 00 p m Pacific Time Product literature www altera com www altera
6. Altera megafunctions within your design With the SignalTap II embedded logic analyzer you can capture and analyze data samples for the top level ports of the Altera megafunctions in your design while your system is running at full speed To monitor signals from your Altera megafunctions you must first configure the SignalTap II embedded logic analyzer in the Quartus II software and then include the analyzer as part of your Quartus II project The Quartus II software then embeds the analyzer with your design in the selected device seamlessly For more information about using the SignalTap II embedded logic analyzer refer to volume 3 in the Quartus II Handbook This section presents a design example that uses the Ipm abs megafunction to generate an absolute value function This example uses the MegaWizard Plug In Manager in the Quartus II software As you go through the wizard each page is described in detail When you are finished with this example you can incorporate it into an overall design Design Files The example design files are available in the Quartus II Projects section on the Design Examples page of the Altera web site www altera com Example The objective of this design is to calculate the absolute value of a 4 bit signed input In this example you perform the following activities W Generate a 4 bit absolute function using the lpm_abs megafunction m Implement the absolute value function by assigning the EP2530F484
7. Ipm abs Megafunction ANU S RYA o 101 Innovation Drive San Jose CA 95134 408 544 7000 www altera com User Guide Software Version Document Version Document Date 7 0 2 2 March 2007 Copyright 2007 Altera Corporation All rights reserved Altera The Programmable Solutions Company the stylized Altera logo specific device des ignations 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 respective holders Al tera products are protected under numerous U S and foreign patents and pending applications maskwork rights and copyrights Altera warrants performance of its semiconductor products to current specifications in accordance with Altera s standard warranty but reserves the right to make changes to any products and services at any time without notice Altera assumes no responsibility or liability arising out of the ap plication or use of any information product or service described herein except as expressly agreed to in writing by Altera NSAI Corporation Altera customers are advised to obtain the latest version of device specifications before relying on any published in formation and before placing orders for products or services LS EN ISO 9001 UG MF91204 2 2 ii Altera Corporation Ipm abs Megafuncti
8. _absmegafunction lets you implement an absolute value function that calculates the absolute value of an input The overflow output is used to indicate that the positive equivalent of an input value does not exist Figure 1 1 Ipm abs Megafunction Symbol data 0 result 7 0 overflow A two s complement number system is used to represent the input In the two s complement system there is one more negative number than there are positive numbers Because of this asymmetric range the negative number 2 the bit width of the data does not have a positive equivalent For a 4 bit width the possible range of values are from 3 or 2D to 7 or 24 1 The Ipm absmegafunction generates an overflow indication for an input value of 8 All other negative numbers have equivalent positive representations Altera Corporation Ipm abs Megafunction User Guide March 2007 About this Megafunction Figure 1 2 Ipm abs Megafunction Circuit overflow result In Figure 1 2 the topmost or most significant bit MSB of the input data is the sign bit For negative numbers the lpm_absmegafunction calculates the absolute value of the input by finding the bitwise complement of the input and adding 1 to this complement Common Applications The absolute value function is a basic operation in computer graphics and scientific calculation applications such as math coprocessors DSP algorithms e
9. ation add only signals that exist after place and route These signals are found with the Post Compilation filter of the Node Finder During synthesis and place and route the names of your RIL signals change Therefore it might be difficult to find signals from your megafunction instantiation in the Post Compilation filter However if you preserve the names of your signals during the synthesis and place and route stages you must use the synthesis attributes keep or preserve These are Verilog and VHDL synthesis attributes that direct analysis and synthesis to keep a particular wire register or node intact Use these synthesis attributes to keep a combinational logic node so you can observe the node during simulation More information about these attributes is available in volume 1 of the Quartus II Handbook 2 5 Ipm abs Megafunction User Guide SignalTap II Embedded Logic Analyzer SignalTap Il Embedded Logic Analyzer Design Example 4 Bit Absolute Function 2 6 EDA Simulation Depending on the simulation tool you are using refer to the appropriate chapter in volume 3 of the Quartus II Handbook The Quartus II Handbook chapters show you how to perform functional and gate level timing simulations that include the megafunctions with details on the files that are needed and the directories where those files are located The SignalTap II embedded logic analyzer provides you with a non intrusive method of debugging all of the
10. bs Megafunction User Guide Design Example 4 Bit Absolute Function Figure 2 8 ModelSim Simulation Results tuam 0 1 2 3 ja 5 T6 7 Ts 17 6 5 4 13 St t wire output 4 sUt wire overlow 0 1000000 ps Altera Corporation March 2007 2 14 Ipm abs Megafunction User Guide Getting Started Conclusion The Quartus II software provides parameterizable megafunctions ranging from simple arithmetic units such as adders and counters to advanced phase locked loop PLL blocks multipliers and memory structures These megafunctions are performance optimized for Altera devices and therefore provide more efficient logic synthesis and device implementation because they automate the coding process and save valuable design time You should use these functions during design implementation so you can consistently meet your design goals Altera Corporation 2 15 March 2007 Ipm abs Megafunction User Guide Conclusion 2 16 Altera Corporation Ipm_abs Megafunction User Guide March 2007 JA DTE RYAN Chapter 3 Specifications Ports and Parameters Table 3 1 shows the input ports Table 3 2 shows the output ports and Table 3 3 shows lpm_abs megafunction parameters Refer to the latest version of the Quartus II Help for the most current information on the ports and parameters for this megafunction The parameter details are only relevant for users who bypass the MegaWizard Plug In Manager interface and u
11. cular topic vi Ipm abs Megafunction User Guide Altera Corporation March 2007 Chapter 1 About this A DTE YA a Megafunction Device Family Support Introduction Altera Corporation March 2007 The lpm_abs megafunction supports the following target Altera device families Stratix TII Stratix II Stratix II GX Stratix Stratix GX Cyclone III Cyclone II HardCopy II MAX II ACEX 1K APEX II APEX 20KC APEX 20KE APEX 20K FLEX 10K FLEX 10KA FLEX 10KE FLEX 6000 MAX 3000A MAX 7000AE MAX 7000B MAX 7000S As design complexities increase use of vendor specific intellectual property IP blocks has become a common design methodology Altera provides parameterizable megafunctions that are optimized for Altera device architectures Using megafunctions instead of coding your own logic saves valuable design time Additionally the Altera provided functions may offer more efficient logic synthesis and device implementation You can scale the megafunction s size by simply setting parameters 1 1 Ipm abs Megafunction User Guide Features Features General Description 1 2 The Ipm absmegafunction implements an absolute value function and offers additional features which include m Parameterizable input data widths W Support for overflow output The Ipm_absmegafunction is one of the arithmetic megafunctions provided by the Quartus II software MegaWizard Plug In Manager The lpm
12. device to the project and compiling the project m Simulate the 4 bit absolute function design Altera Corporation Ipm abs Megafunction User Guide March 2007 Getting Started Altera Corporation March 2007 Generate a 4 Bit Absolute Function 1 2 Open the project file lpm_abs_ex lpm_abs_ex qpf Open the top level file lpm_abs_ex lpm_abs_ex bdf This is an incomplete file that you will complete as part of this example Double click on a blank area in the block design file bdf Click MegaWizard Plug In Manager in the Symbol window or on the Tools menu choose MegaWizard Plug In Manager Page 1 of the MegaWizard appears On Page 1 in the Which action do you want to perform section select Create a new custom megafunction variation Click Next Page 2a appears On Page 2a of the MegaWizard Plug In Manager expand the Arithmetic folder and select LPM_ABS Figure 2 3 2 7 Ipm abs Megafunction User Guide Design Example 4 Bit Absolute Function Figure 2 3 MegaWizard Plug In Manager Page 2a MegaWizard Plug In Manager page 2a Which megafunction would you like to customize Select a megafunction from the list below Installed Plug Ins A Altera SOPC Builder Arithmetic ALTACCUMULATE ALTFP_ADD_SUB ALTFP_MULT ALTMEMMULT ALTMULT_ACCUM MAC ALTMULT_ADD ALTSQRT LPM ABS LPM ADD SUB LPM COMPARE LPM COUNTER LPM DIVIDE LPM MULT PARALLEL_ADD Communications amp DSP Gates
13. ettings Altera Corporation 2 11 March 2007 Ipm abs Megafunction User Guide Design Example 4 Bit Absolute Function 4 Inthe Category list select the Simulator Settings category 5 Under Simulation mode select Functional and then select the required input vector waveform file Ipm abs ex vwf Make sure Run simulation until all vector stimuli are used is selected 6 Click Open and then click OK 7 On the Processing menu select Start Simulation or press Ctrl I or click on the Simulation button to run a simulation 8 When the Simulation was successful message box appears click OK 9 Inthe Simulation Report window view the simulation output waveforms and verify the results Figure 2 7 shows the expected simulation results Figure 2 7 Simulation Waveforms Simulation Waveforms Simulation mode Functional Master Time Bar 17 55 ns gt Pointer 845 ns Interval 9 1 ns Start End ps 20 0 ns 40 0 ns 60 0 ns 80 0 ns 100 0 ns 120 0 ns 140 0 ns 17 55 ns 4 i E H Zk I 5 6 7 8 6 4 3 2 D H oup 1 1 2 Y 3 4 4 5 8 a 1 5X7 X 5B q 5 Y 4 Y 3 Een overflow BO 1 Functional Results Simulate the 4 Bit Absolute Value in ModelSim Altera Simulate the design in ModelSim to compare the results of both simulators Note that this ModelSim design example is for the ModelSim Altera Verilog version This User Guide assumes that you are familiar with using ModelSim Al
14. eys and menu names are shown with initial capital letters Examples Delete key the Options menu Subheading Title References to sections within a document and titles of on line help topics are shown in quotation marks Example Typographic Conventions Courier type Signal and port names are shown in lowercase Courier type Examples datal tdi input Active low signals are denoted by suffix n e g resetn Anything that must be typed exactly as it appears is shown in Courier type For example c qdesigns tutorial chiptrip gdf Also sections of an actual file such as a Report File references to parts of files e g the AHDL keyword SUBDESIGN as well as logic function names e g TRI are shown in Courier Numbered steps are used in a list of items when the sequence of the items is important such as the steps listed in a procedure Bullets are used in a list of items when the sequence of the items is not important The checkmark indicates a procedure that consists of one step only The hand points to information that requires special attention A caution calls attention to a condition or possible situation that can damage or destroy the product or the user s work A warning calls attention to a condition or possible situation that can cause injury to the user The angled arrow indicates you should press the Enter key The feet direct you to more information on a parti
15. lt Back Next gt i 2 2 Ipm abs Megafunction User Guide Altera Corporation March 2007 Getting Started On Page 3 of the Ipm abs megafunction wizard you enable the overflow signal option and specify the bit width of the inputs outputs of this megafunction Figure 2 2 shows Page 3 of the Ipm abs wizard Figure 2 2 MegaWizard Plug In Manager LPM ABS Page 3 of 5 MegaWizard Plug In Manager LPM_ABS page 3 of 5 LPM_ABS Version 6 0 2 Simulation 3 Summary Library Page ABS tdf d ata 3 0 result 3 0 m overflow How wide should the bus be that no positive equivalent exists Altera Corporation 2 3 March 2007 Ipm abs Megafunction User Guide Inferring Megafunctions from HDL Code Inferring Megafunctions from HDL Code Instantiating Megafunctions in HDL Code 2 4 Table 2 1 shows the features and settings of the Ipm abs megafunction Use this table with hardware descriptions of the features to determine the appropriate settings Table 2 1 Ipm abs MegaWizard Plug in Manager Page 1 Options Function Description How wide should the bus be Specify the input and output bus widths value of the function See the WIDTH parameter description in Table 3 3 Create an overflow output Specify the overflow output to indicate that no positive equivalent exists See the overflow port description in Table 3 2 Synthesis tools including the Quar
16. mbedded arithmetic co processors data processing and data control Many possible algorithms and implementations of an absolute value function can be used in an FPGA The Ipm_absmegafunction is an efficient way to implement an absolute value function in Altera FPGAs and is optimized for implementation in all Altera devices Resource Utilization and Performance The lpm_absmegafunction is implemented using logic elements LEs or adaptive logic modules ALMs in Altera devices Altera Corporation 1 3 March 2007 Ipm abs Megafunction User Guide General Description Table 1 1 summarizes the resource use of an lpm_absfunction when implementing an absolute value function with the default settings in the MegaWizard Plug In Manager Table 1 1 Resource Usage for the Ipm abs Megafunction Device Family Width Logic Use Stratix II 16 17 ALUTS Stratix Stratix GX 16 17 logic elements Cyclone II Cyclone 16 17 logic elements Software Requirements The lpm_abs megafunction is provided with the Quartus II software You must install the Quartus II software to use this megafunction 1 4 Ipm abs Megafunction User Guide Altera Corporation March 2007 Chapter 2 Getting Started NOTES RYAN System Requirements Mega Wizard Plug In Manager Customization Using the MegaWizard Plug In Manager Altera Corporation March 2007 The instructions in this section require the following hardware and s
17. module is built 16 Move the pointer to place the ABS symbol in between the input output ports in the Ipm abs ex bdf file Click to place the symbol You have now completed the design file as shown in Figure 2 6 17 On the File menu select Save to save the design 2 10 Altera Corporation Ipm abs Megafunction User Guide March 2007 Getting Started Figure 2 6 Ipm abs Megafunction Design data 3 0 resuk 3 0 overflow Implement the 4 Bit Absolute Value Function Next assign the EP2S30F484C3 device to the project and compile the project 1 To open the Settings dialog box on the Assignments menu select Settings 2 Click the Devices category In the Family field ensure that Stratix II is selected 3 Inthe Target device section under the Available devices list select EP2S30F484C3 4 Click OK 5 On the Processing menu select Start Compilation or click the Compilation button to compile the design 6 When the Full Compilation was successful message box appears click OK Functional Results Simulate the 4 Bit Absolute Value in Quartus Simulate the design to verify the results Set up the Quartus II Simulator by performing the following steps 1 Onthe Processing menu select Generate Functional Simulation Netlist 2 Whenthe Functional Simulation Netlist Generation was successful message box appears click OK 3 Toopen the Settings dialog box on the Assignments menu select S
18. oftware m A PC running either Windows NT 2000 XP Red Hat Linux 7 3 or 8 0 Red Hat Linux Enterprise 3 or an HP workstation running the HP UX version 11 0 operating system or a Sun workstation running the Solaris 8 or 9 operating system E Quartus II software version 4 1 or later The MegaWizard Plug In Manager creates or modifies design files that contain custom megafunction variations that can then be instantiated in a design file The MegaWizard Plug In Manager provides a wizard that lets you specify options for the Ipm abs megafunction You can use the MegaWizard Plug In Manager to set the Ipm abs megafunction features for each absolute value function in the design Start the MegaWizard Plug In Manager in one of the following ways m On the Tools menu choose the MegaWizard Plug In Manager command m When working in the Block Editor click MegaWizard Plug In Manager in the Symbol window m Start the stand alone version of the MegaWizard Plug In Manager by typing the following command at the command prompt qmegawizt This section details descriptions of the options available on the individual pages of the Ipm abs megafunction wizard 2 1 Ipm abs Megafunction User Guide Using the MegaWizard Plug In Manager On Page 2a you select the lpm_abs megafunction from the Arithmetic category select the device you intend to use the type of output file you want to create Verilog VHDI or AHDL and what you want to name the outp
19. on User Guide March 2007 NOTE YAN Contents About this User Guide eese mmm nemen V D cument Revision History ssec ten eese rientrare nennen v How to Contact Altera Typographic Conventions etienne cette reet das vi Chapter 1 About this Megafunction Device Family Support io 1 1 Introd ction 5 uii NN FHeatufeSu icones ea ERIS Rer A eA ERIS HS aN EI RE General Description Common Applications e SRS 1 3 Resource Utilization and Performance eese ener ether nnne nnne 1 3 Sottware Bequirements gun BeoSaleneiei iet aa i etie Hiit daria 1 4 Chapter 2 Getting Started System Requirements i os ood ie CL a Mega Wizard Plug In Manager Customization T Using the MegaWizard Plug In Manager seen eene nennen Inferring Megafunctions from HDL Code 7 usse eene Instantiating Megafunctions in HDL Code Identifying a Megafunction after Compilation Simulation ssenarisi euena Quartus Il Simulation ini EDA Simulation a ve ie end e e a A E R SignalTap II Embedded Logic Analyzer Design Example 4 Bit Absolute Function Design Files eene EXAM e P MG Generate a 4 Bit Absolute Function cccccccscssscssscssecsseessccsscessecseceetcsseessecssecseesecseseaseesseatesseens Implement the 4 Bit Absolute Value Function e we 2 11 Functional Results Simulate the 4 Bit
20. se the megafunction as a directly parameterized instantiation in their design The details of these parameters are hidden from MegaWizard Plug In Manager interface users Figure 3 1 Ipm abs Megafunction Port amp Parameter Description Symbol data 7 0 result 7 0 overflow The Ipm_abs megafunction ports and parameters tables follow Table 3 1 Input Ports Table Port Name Required data Yes Data input to the absoulte value function Description The width parameter specifies the size of the data port Comments Table 3 2 Output Ports Table Port Name Required Description Comments result Yes Data output from the absoulte The width parameter specifies the size of value function the result port overflow No Overflow output from the absolute value function Altera Corporation March 2007 3 1 Ipm abs Megafunction User Guide Ports and Parameters Table 3 3 Parameters Table Parameter Name Type Required Comments WIDTH Integer Yes Specifies the width of the data andthe result ports 3 2 Altera Corporation Ipm abs Megafunction User Guide March 2007
21. tera before trying out the design example If you are unfamiliar refer to http www altera com support software products modelsim mod modelsim html which is a support page for ModelSim Altera There are various links to topics such as installation usage and troubleshooting Set up the ModelSim Altera Simulator by performing the following steps 2 12 Altera Corporation Ipm abs Megafunction User Guide March 2007 Getting Started Altera Corporation March 2007 10 Unzip the lpm_abs_msim zip file to any working directory on your PC Browse to the folder in which you have unzipped the files and open the Ipm abs ex do file in a text editor In line 1 replace insert directory path here with the directory path of the appropriate library files For example C Modeltech ae altera verilog stratixii On the File menu select Save Start ModelSim Altera On the File menu select Change Directory Select the folder in which you have unzipped your files and click OK On the Tools menu select Execute Macro Select the lpm abs ex do file and click Open This is a script file for ModelSim which automates all the necessary settings for the simulation Verify the results by looking at the Waveform Viewer window You may need to rearrange signals remove redundant signals and change the radix to suit the results in the Quartus II Simulator Figure 2 8 shows the expected simulation results in ModelSim 2 13 Ipm a
22. tus II integrated synthesis recognize certain types of HDL code and automatically infer the appropriate megafunction when a megafunction will provide optimal results The Quartus II software uses the Altera megafunction code when compiling your design even though you did not specifically instantiate the megafunction The Quartus II software infers megafunctions because they are optimized for Altera devices so the area and or performance may be better than generic HDL code Additionally you must use megafunctions to access certain Altera architecture specific features such as memory DSP blocks and shift registers that generally provide improved performance compared with basic logic elements Refer to the appropriate chapter in volume 1 of the Quartus II Handbook for specific information about your particular megafunction When you use the MegaWizard Plug In Manager to set up and parameterize a megafunction it creates either a VHDL or Verilog HDL wrapper file that instantiates the megafunction a black box methodology For some megafunctions you can generate a fully synthesizable netlist for improved results with EDA synthesis tools such as Synplify and Precision RTL Synthesis a clear box methodology Both clear and black box methodologies are described in the volume 1 of the Quartus II Handbook Altera Corporation Ipm abs Megafunction User Guide March 2007 Getting Started Identifying a Megafunction after Compilation
23. ut file You also have the option to enable the generation of a clear box netlist for this megafunction Figure 2 1 Figure 2 1 MegaWizard Plug In Manager Page 2a MegaWizard Plug In Manager page 2a Which megafunction would you like to customize Select a megafunction from the list below i 89 Installed Plug Ins A Altera SOPC Builder f Arithmetic ALTACCUMULATE ALTFP ADD SUB ALTFP MULT ALTMEMMULT ALTMULT_ACCUM MAC ALTMULT ADD ALTSQRT LPM ABS LPM ADD SUB LPM COMPARE LPM COUNTER LPM DIVIDE LPM MULT PARALLEL ADD xf Communications Si DSP me Gates 63 1 0 6 Interfaces Memory Compiler arall last oader Serial Flash Loader Which device family will you be Stratis Il v using Which type of output file do you want to create AHDL C VHDL C Verilog HDL What name do you want for the output file Browse _example Quartusll unzipped lpm_abs lpm_abs lpm_abs_ex 4B5 Generate clear box netlist file instead of a default wrapper file for use with supported EDA synthesis tools only Return to this page for another create operation Note To compile a project successfully in the Quartus II software your design files must be in the project directory in the global user libraries specified in the Options dialog box Tools menu or a user nel pats in the User Libraries page of the Settings dialog box Assignments menu Your current user library directories are Cancel
Download Pdf Manuals
Related Search
Related Contents
1.15MB Nx/DBU Plug-On Board Option Module User Manual Electrolux EOD43102 User's Manual Bedienungsanleitung ADanger - PicR.de 3,1 % 5 % - Fondation du bénévolat manual de instruções do fasímetro digital modelo fs-30 Copyright © All rights reserved.
Failed to retrieve file