Return to Support Page
 homesearchagentssupportask xilinxmap

Answers Database


Foundation: "File specified in $FILE parameter is missing" when pushing into macro


Record #1950

Product Family:  Software

Product Line:  Aldec

Problem Title:
Foundation: "File specified in $FILE parameter is missing" when pushing
into macro



Problem Description:
Keywords: foundation, schematic, $file, macro
Urgency: Standard

General Description:
When pushing into a macro, Foundation may issue the following
message:

   File specified in $FILE parameter is missing


Solution 1:

This error can occur when the macro comes from another project library and:

1. It is a schematic macro created by using the Symbol
   Wizard, or
2. It is an HDL macro (ABEL or VHDL).

When a macro is created under these conditions, the actual
contents of the macro are stored in the project directory.
Only the symbol graphic is stored in the project library.

To get rid of the error, copy the SCH/ABL/VHD file from the
other project directory into the current project directory.

To avoid this problem with schematic macros, you can create
macro symbols without using the Symbol Wizard:

1. Open a new schematic sheet and create the macro.
2. Select Hierarchy -> Create Macro Symbol From Current
   Sheet.

This will copy the contents of the schematic into the project
library.  Now the macro can be used in other projects without
copying the SCH file.



Solution 2:

If the macro comes from the current project library, this
error means that the file containing the macro description is
missing.

Verify that the $FILE attribute is pointing to the correct
SCH, ABL, or VHD file by double-clicking on the symbol and
looking at the symbol parameters.

If the $FILE attribute is correct, and the file is not
present in the project directory, you can try to recover the
file from automatic backup.  Backup files have a BSC
(schematic) or BAK (ABEL/VHDL) extension.

1. Using File Manager, Windows Explorer, or an MSDOS session,
   rename the BSC (or BAK) file to have an SCH (or ABL/VHD)
   extension.
2. In the Schematic Editor, push into the macro.  Make edits
   if necessary to bring the macro contents up to date.



End of Record #1950

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