Return to Support Page
 homesearchagentssupportask xilinxmap

Answers Database


M1 PLD_EDIF2SIM/XNF2SIM/EDIF2TIM: Error: Could Not find the External part "$SIMPRIMS/___"


Record #3037

Product Family:  Software

Product Line:  Mentor

Problem Title:
M1 PLD_EDIF2SIM/XNF2SIM/EDIF2TIM: Error: Could Not find the External
part "$SIMPRIMS/___"



Problem Description:
Keywords: pld_edif2tim, pld_edif2sim, pld_xnf2sim, enwrite, Mentor, simulation,
simprims, location map

Urgency: Standard

General Description:

PLD_EDIF2SIM, PLD_XNF2SIM, or PLD_EDIF2TIM exits with the following errors:

   //  Note: Finding part "$SIMPRIMS/x_buf" (from: Synthesis/EDIF
   Interface/Eddm Interface 81)
   //  Error: Could Not find the External part "$SIMPRIMS/x_buf". (from:
   Synthesis/EDIF Interface/Miscellaneous 25)
   //  Error: View "view_1" was not created successfully;
   //	      thus cannot instantiate "DFF_OUT_YMUX". (from: Synthesis/EDIF
   Interface/Miscellaneous 1C)
   //  Note: Finding part "$SIMPRIMS/x_buf" (from: Synthesis/EDIF
   Interface/Eddm Interface 81)

The error message may reference any simulation primitive in the $SIMPRIMS
library.


Solution 1:

This indicates that Mentor Graphics cannot find the value of $SIMPRIMS.
Even if this variable is set in your shell environment, it will be unknown
to the Mentor design tools if it is not instantiated in your MGC location
map (the file referenced by the MGC_LOCATION_MAP environment variable).

To fix this problem, do the following:

1. If it is not already set, set the SIMPRIMS environment variable to the
   location of the simprim library ($LCA/simprims):

      setenv SIMPRIMS $LCA/simprims

2. Instantiate the $SIMPRIMS variable ("soft name") by adding it into the
   text file referenced by your MGC_LOCATION_MAP variable, leaving a blank
   line after the $SIMPRIMS line.  Here is an example MGC location map file
   with $SIMPRIMS properly instantiated:

      MGC_LOCATION_MAP_2

      $MGC_GENLIB

      $MGC_HOME

      $LCA

      $SIMPRIMS

      $PEACEMAKER
      /home/clooney/classified/patriot_missile

After saving the new MGC location map, rerun PLD_EDIF2SIM, PLD_EDIF2TIM, or
PLD_XNF2SIM and the intended simulation model should be generated properly.

For more information on the SIMPRIMS environment setting, please see
Xilinx Solution 2100.



End of Record #3037

For the latest news, design tips, and patch information on the Xilinx design environment, check out the Xilinx Expert Journals!

© 1998 Xilinx, Inc. All rights reserved
Trademarks and Patents