Previous

Using Pld_men2edif

Once your design is verified to be functionally correct, you use pld_men2edif, a tool in the Mentor Graphics Design Manager, to translate your Mentor design into a Xilinx-ready EDIF netlist. Running pld_men2edif is always the first step in implementing a design. Whenever you make changes to your schematic, you must run pld_men2edif again so that the Xilinx software can process those changes.

When you run pld_men2edif from the Mentor Design Manager, the following dialog box appears:

Figure 9.70 Pld_men2edif Dialog Box

Here is an explanation of some of the fields and buttons in the pld_men2edif dialog box.

Perform the following steps to create an EDIF netlist for Calc:

  1. Double-click on the pld_men2edif icon in Design Manager.

  2. For the Component Name, type $XILINX_TUTORIAL/calc_sch/calc as shown above.

  3. Select the architecture in the PLD Technology field, e.g., XC4000E.

  4. Select OK.

    This opens a new shell window where pld_men2edif runs and reports its progress. When pld_men2edif has completed, the following should appear at the bottom of the shell window:

    pld_men2edif ended with return code 0
    Done.


  5. Dismiss the pld_men2edif shell window by typing Ctrl-C in it or by selecting Close from the window's control menu (accessed through the button on the left side of the title bar).


    NOTE

    The output of pld_men2edif may be sent to the window from which the pld_dmgr was originally invoked. This behavior is dictated by the $MGC_TERMINAL_WINDOW environment variable; see the Mentor Graphics documentation for more details.


Examining Pld_men2edif Output Files

In addition to the EDIF netlist, pld_men2edif also creates a pld_men2edif.log file. This file contains a transcript of the processing done by pld_men2edif. If the program fails to generate an EDIF netlist, any errors encountered are logged in this file.

Examine the pld_men2edif.log file for the Calc design as follows:

  1. Select the Navigator window.

  2. Choose Right Mouse Button Update Window.

    This updates the Navigator window to display the new files created by pld_men2edif, including an EDIF file for Calc, and a log file for pld_men2edif.

    Figure 9.71 Files Created by Pld_men2edif

  3. Select the LOG icon labeled pld_men2edif and choose Right Mouse Button Open Editor.

    A window appears displaying the log file.

  4. When you are done viewing the log, close the window.


    NOTE

    You can change the display font in this window by selecting View Fonts.


Next