Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Problem with recompiling Xilinx Libraries in ModelSim

Status
Not open for further replies.

BasePointer

Full Member level 2
Full Member level 2
Joined
Jul 3, 2002
Messages
130
Helped
6
Reputation
12
Reaction score
3
Trophy points
1,298
Location
TURKEY
Activity points
955
modelsim, cd $, modelsim.ini

I have just downloaded ModelSim 5.8d. I gave an error message "Permission denied" when I tried command below. How can I prevent this ?

ModelSim> compxlib -s mti_se -f all -l all -o .
# Release 6.2i - compxlib
#
# XILINX = 'C:\_Elkn\Xilinx'
#
# SIMULATOR = MODELSIM SE/EE
#
#
# Source Tools => [using PATH env]
#
# Initializing Logical Mapping ( => 'C:\_Elkn\FPGAdv62PS\Modeltech\win32' )
#
# output directory set to 'c:\_elkn\fpgadv62ps\modeltech\examples'
#
# checking dependencies...
#
# Using MODELSIM ( => C:\_Elkn\FPGAdv62PS\Modeltech\win32/../modelsim.ini )
#
#
# ==> STARTING COMPILATION (Xilinx VERILOG Libraries)
..
..
..
# Warning: Copied C:\_Elkn\FPGAdv62PS\Modeltech\win32/../modelsim.ini to modelsim.ini.
# Updated modelsim.ini.
# MODELSIM set to C:\_Elkn\FPGAdv62PS\Modeltech\win32/../modelsim.ini.
# The MODELSIM environment variable is used by all ModelSim products
# to find the modelsim.ini file, so this local copy will not be used.
# Error: Could not write to C:\_Elkn\FPGAdv62PS\Modeltech\win32/../modelsim.ini: Permission denied

Thanks
 

modelsim xilinx libraries

Are you logged in as Administrator? If not, are the permissions on that directory *and* the root of C: ok for your login?. If there is an existing modelsim.ini in that directory, is it Read Only?

I take it you are running compxlib from a console where you have CD'd to the root Xilinx directory?. Oh - also check if there is an existing compxlib.log which is Read Only.

Git
 

Yes, common problem. Change your modelsim.ini from read-only to writeable. I also keep a backup copy, just in case.
 

Yes I changed the modelsim.ini to writeable, it works now.

Thnks for your responses.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top