To create an altmult_add
megafunction that implements four pipelined 16-bit multipliers feeding a single 34-bit adder, follow these steps:
Click the Selection and Smart Drawing Tool button on the toolbar.
Double-click an empty space in the Block Editor window. The Symbol dialog box appears automatically.
In the Symbol dialog box, click MegaWizard Plug-In Manager. The first page of the MegaWizard Plug-In Manager appears.
In the first page of the MegaWizard Plug-In Manager, make sure Create a new custom megafunction variation is selected and click Next.
Under Which megafunction would you like to customize?, click the + icon to expand the arithmetic folder, and then select ALTMULT_ADD.
Specify the following responses to the remaining wizard prompts:
Wizard Prompt: |
Response: |
Which device family will you be using? | Stratix |
Which type of output file do you want to create? | AHDL |
What name do you want for the output file? | d:\qdesigns\stratix\mac |
Click Next. MegaWizard Plug-In Manager - ALTMULT_ADD [Page 1 of 4] appears.
|