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.

Modelsim error code 211 : segmentation violation..What to do

Status
Not open for further replies.

JJFORTY

Member level 1
Joined
Nov 16, 2004
Messages
40
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Activity points
368
modelsim 211

Hi everybody .

I have modelsim 5.8 that is called from HDL designer for simulation (FPGA 6.3).
the probleme is that when i execut the command : "add wave *" or "add
wave name" in modelsim it disappear completly (modelsim exit) and in
the HDL log window it say :

Reading C:/FPGAdv63LSPS/Modeltech/tcl/vsim/pref.tcl
Reading C:/FPGAdv63LSPS/Hds/resources/downstream/modelsim/hdsInit.tc_
Connected to HDS
# Attempting stack trace sig 11
# Signal caught: signo [11]
# vsim_stacktrace.vstf written
# Current time Wed Apr 13 13:42:01 2005
# ModelSim Stack Trace
# Program = vsim
# Id = "5.8c"
# Version = "2004.03"
# Date = "Mar 25 2004"
# Platform = win32
# 0 0x005add42: '<unknown (@0x5add42)> + 0xf1002'
# 1 0x005add7c: '<unknown (@0x5add7c)> + 0xf103c'


# Corrupt Call Stack
** Fatal: (SIGSEGV) Bad pointer access. Closing vsim.
** Fatal: vsim is exiting with code 211.
(Exit codes are defined in the ModelSim messages appendix
of the ModelSim User's Manual.)

in the modelsim manual its indicated that the code 211 means :
segmentation violation.
I dont know what to do to correcte the probleme, i'v tryed to delet
the modelsim.ini file, also to reinstal modelsim, its doesnt hepl....
So please can you tel me whats can i do to solve this problem.

Thanks for answering.
 

modelsim code 211

ModelSim will sometimes crash and disappear when it encounters confusing situations. Try running it all by itself, without calling it from another app. Try loading a simple, totally different HDL project to see if the problem changes.

The symptom you describe, disappearing when you add signals to the wave window, is very common with an incorrect license. If that is true, then we cannot help you here.
 

modelsim error 211

Thanks echo47 for the quick response

I have tried running it all by itself, but no joy.. same error when "add wave *" or "add wave name" in modelsim it disappear completly (modelsim exit).

The lincese apperas to be ok..

Any Suggestions??
 

modelsim error code 211

it seems your problem is due to some old license working on modeltech demon, or you must be using some keygen.
modelsim crashes when you try to add a signal in the wave panel. it checks the license again at this point of time. it is looking for the custom vender string in the license file at this time.
if you have a genuine license then format your machine and reinstall the software.

hock
 

modelsim is exiting with code 211

Yikes! Don't format your machine or reinstall anything. Simply replace the license file with a legitimate one. ModelSim is expensive, but if you are a student, ask your professor if the school can provide you some sort of low cost or free academic license.
 

modelsim exit code 211

I think this error is due to the license problem. I think modelsim 5.8 need you to overwrite a .dll file in addition to provide a proper license file. You can consider to upgrate into modelsim 6.0 that is needing for a license file for full function.
 

file error 211

If you're sure that your lic file is ok, try to place it in a new folder. Call it for example msim.dat in toto folder.

In the environment variables, add the new environment.
example: LM_LICENSE_FILE set to c:\flexlm\license.dat
change it to
c:\toto\msim.dat;c:\flexlm\license.dat

In turn your modelsim license will be read first..

Hope it helps
Cheers
:)
 

Re: Modelsim error code 211 : segmentation violation..What t

I got this same error and came here looking for answers. This error is not necessarily a license issue. For instance, I knew my license was good so it had to be another issue. I didn't find any help at all on Google but I finally figured it out.

My problem was that I had a "dangling" SystemVerilog interface in my DUT instance's port list. For example:

Code:
my_dut my_dut (

  // more ports
  
  .my_vid_if();

  // more ports

);

ModelSim will _NOT_ allow you to have a dangling SV interface in an instance's port listing. You must connect up the interface to either the wrapping module's interface port or create an instance of the interface (as I have done below) and connect it up!

Code:
// instance of SV interface
Video_Output_If vid_out_if();

my_dut my_dut (

  // more ports
  
  .my_vid_if(vid_out_if);

  // more ports

);

The interface does not have to actually go anywhere useful but you MUST connect it.

Pz!
 

I have experienced this problem a few times. The last time it occurred was right after a system crash (due to another problem).

The solution for me was simple. I deleted all files in the modelsim project folder, except for the source files and re-compiled. Voila! No more error.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top