UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Observer siddadd
Observer
9,126 Views
Registered: ‎04-03-2012

Trouble with ModelSim 10 and Xilinx libraries

Jump to solution

Hi,

 

I am trying to run a simulation using ModelSim, but when I run startsim.do, I get these messages

 

Loading work.local_max_tb(fast)
# Loading work.fifo_1kx32(fast)
# Loading unisims_ver.FDC(fast)
# Loading unisims_ver.FDP(fast)
# Loading unisims_ver.FIFO36E1(fast)
# Loading work.sep_buf_x(fast)
# Loading unisims_ver.FIFO18E1(fast)
# Loading unisims_ver.FIFO36E1(fast__1)
# Loading work.glbl(fast)

 

and  when I add the waves I do not see most of my signals

 

I then tried adding the -novopt flag, but I get an error

 

Failed to open lock file "/home/software/xilinx-13.2/ISE_DS/ISE/verilog/mti_se/10.0c/lin64/unisims_ver/_lock" in create mode.
# Permission denied. (errno = EACCES)

Below is my startsim.do file

--------------------------------------------

# Create work library
vlib work

# Compile sources
vlog  "../hdl/reg_ff.v"
vlog  "../hdl/fifo_512x72.v"
vlog  "../hdl/fifo_512x32.v"
vlog  "../hdl/fifo_4kx32.v"
vlog  "../hdl/fifo_2kx32.v"
vlog  "../hdl/fifo_1kx32.v"

.......

.......
vlog  "lm_tb_new.v"
vlog  "$env(XILINX)/verilog/src/glbl.v"

# Call vsim to invoke simulator
vsim -novopt -L work -L secureip -L unisims_ver -L xilinxcorelib_ver work.local_max_tb glbl

# Add signals
do wave.do

# Run simulation
run -all
---------------------------------------------

 

My modelsim.ini points to 13.2 xilinx libraries at 

 

/home/software/xilinx-13.2/ISE_DS/ISE/verilog/mti_se/10.0c/lin64/

 

Not really sure if there is an installation issue or something to do with my scripts. Any help will be appreciated.

 

Thanks,

 

Sid

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
Xilinx Employee
Xilinx Employee
14,519 Views
Registered: ‎07-31-2012

Re: Trouble with ModelSim 10 and Xilinx libraries

Jump to solution

Hi,

 

1) Check the directory permissions for the compiled library directory.

2) Try simulating any other example design and check if it works in Modelsim

3) Check that the compiled libraries versions is same as the ISE tool version.

 

Let me know the update after trying these steps.

Thanks,
Anirudh

PS: Please MARK this as an answer in case it helped resolve your query.Give kudos in case the post guided you to a solution.
2 Replies
Xilinx Employee
Xilinx Employee
14,520 Views
Registered: ‎07-31-2012

Re: Trouble with ModelSim 10 and Xilinx libraries

Jump to solution

Hi,

 

1) Check the directory permissions for the compiled library directory.

2) Try simulating any other example design and check if it works in Modelsim

3) Check that the compiled libraries versions is same as the ISE tool version.

 

Let me know the update after trying these steps.

Thanks,
Anirudh

PS: Please MARK this as an answer in case it helped resolve your query.Give kudos in case the post guided you to a solution.
Visitor gchan310
Visitor
5,176 Views
Registered: ‎08-12-2011

Re: Trouble with ModelSim 10 and Xilinx libraries

Jump to solution

I'm having the same problem, the above solutions do not work for me. Any other ideas what the cause could be?

0 Kudos