## Converting ViewDraw Schematics or VHDL Designs into MAX+PLUS II-Compatible EDIF Netlist Files with the edifneto Utility

You can use the edifneto utility to generate an EDIF netlist file from a ViewDraw schematic or VHDL Design File (.vhd). This file can be imported into the MAX+PLUS® II software as an EDIF Input File with the extension .edf. To generate an EDIF netlist file, follow these steps:

1. Be sure to set up your working environment correctly, as described in Setting Up the MAX+PLUS II/Viewlogic Powerview Working Environment.

2. Create a ViewDraw schematic and save it in your working directory, as described in Creating ViewDraw Schematics for Use with MAX+PLUS II Software.

   or:

   Create a VHDL Design File, analyze it, and synthesize and optimize it, as described in the following topics:

   - Creating VHDL Designs for Use with MAX+PLUS II Software
   - Analyzing VHDL Files with the Vantage VHDL Analyzer Software
   - Synthesizing & Optimizing VHDL Designs with ViewSynthesis Software

3. Start the edifneto utility by double-clicking Button 1 on the max2_edifo icon in the Design Tools Drawer or the Max2 Express Drawer in the Altera Toolbox. You can also start the edifneto utility by typing `edifneto` at the UNIX prompt.

4. If you are converting a ViewDraw schematic, specify the <design name> for the Wire File Name option in the edifneto dialog box. If you are not using the Altera® toolbox, do not specify Altera for the Level option in the edifneto dialog box.

5. If you are converting a VHDL Design File, or if your ViewDraw schematic instantiates Library of Parameterized Modules (LPM) functions, specify Altera and VHDL as the Level in the edifneto dialog box.

6. Choose OK to generate the EDIF netlist file. The edifneto utility creates the max2 subdirectory under your working directory. The max2 subdirectory contains the EDIF netlist file for your design.

   | When the edifneto utility generates an EDIF netlist file from a design that instantiates LPM functions, the EDIF netlist file may contain parameters with incorrect parameter names. To correct this problem, go to the /usr/maxplus2/viewlogic/bin directory and type `chlpmpty` <design name>`.edf` at the UNIX prompt to run the Altera-provided chlpmpty script, which converts all of the parameters to their correct names.

7. Process the <design name>.edf with the MAX+PLUS II Compiler, as described in Compiling Projects with MAX+PLUS II Software.

| Go to the following MAX+PLUS II ACCESSSM Key topics for related information:

- Using the Max2 Express Drawer's SCH <-> max2 Utility
- Using the Max2 Express Drawer's VHDL <-> max2 Utility

Last Updated: August 28, 2000 for MAX+PLUS II version 10.0 |
| Home | List by Vendor | List by Tool | List by Function | Viewlogic Topics | ViewDraw Topics | Documentation Conventions Copyright © 2000 Altera Corporation, 101 Innovation Drive, San Jose, California 95134, USA. All rights reserved. By accessing any information on this CD-ROM, you agree to be bound by the terms of Altera's Legal Notice.