Return to Support Page
 homesearchagentssupportask xilinxmap

Answers Database


LogiBLOX, ngd2edif: ERROR:basxb:41 - Cannot open temporary output file "C:/TEMP /module_name.ngd"


Record #3060

Product Family:  Software

Product Line:  Merged Core

Problem Title:
LogiBLOX, ngd2edif: ERROR:basxb:41 - Cannot open temporary output file
"C:/TEMP /module_name.ngd"



Problem Description:
Keywords: LogiBLOX, basxb, ngd2edif

Urgency: Standard

General Description:

This solution record gives an alternate explanation for why this error may occur

and how to solve it, assuming that the suggested resolutions in the error
message (adequate disk space, write permissions are granted, and the network is
healthy) do not resolve the problem.

When using LogiBLOX to create a module, module generation fails, and messages
similar to the following appear in the "LogiBLOX GUI Messages" window.

 1. ERROR:basxb:41 - Cannot open temporary output file "C:/TEMP
/module_name.ngd"

 2. ERROR:basxb:37 - Failed to generate ngd netlist for module "module_type"

The reason this happens is because LogiBLOX creates and uses temporary files in
the directory referenced by the Windows "tmp" environment variable.  On the
system that this problem occurs, spaces have been appended to end of the tmp
variable assignment.

LogiBLOX then creates an ngd2edif command (message 1 above) using the tmp
variable and referencing files found inside the temporary directory.  Because
ngd2edif arguments are separated by spaces, the tool believes that too many
parameters are being passed, generates an error message (message 2 above), and
fails to create the module.

These messages appear on the Windows NT platform, either invoking LogiBLOX
through Foundation or standalone.


Solution 1:


Remove the spaces at the end the TMP environment variable setting.

 1. Open Control Panel, and double click on "System."

 2. Choose the "Environment" tab.

 3. Under User Variables, select the "TMP" variable, and delete the spaces at
the end of the "Value" line.

 4. Click "Set," "Apply," and "OK."

 5. If LogiBLOX was invoked through Foundation, LogiBLOX and Foundation Project
Manager must be closed and re-opened.  If LogiBLOX was invoked standalone, then
only LogiBLOX must be re-opened.



End of Record #3060

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