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.

how to suppress warning in modelsim

Status
Not open for further replies.

roger

Full Member level 3
Joined
Aug 27, 2003
Messages
162
Helped
4
Reputation
8
Reaction score
0
Trophy points
1,296
Activity points
1,617
modelsim suppress warnings

how to suppress the warning message in modelsim

# ** Warning: There is an 'U'|'X'|'W'|'Z'|'-' in an arithmetic operand, the result will be 'X'(es).
# Time: 1211550 ps Iteration: 1 Instance: /tb/tmp4/mot/mtc0/ad21

I tried to suppress them at simulationOptions\Suppress warnings by
ˇ from synopsys package
ˇ from IEEE numeric std packages
but failed,

how to do that?
 

modelsim disable warning

hello.

solution 1 - editing MODELSIM initialisation file
----------
go to Modelsim installation, then you should find "modelsim.ini" under the
path <install_path>. First, to edit this file, you need to make it write enable; turn remove the READ-only protection.

; Turn off warnings from the std_logic_arith, std_logic_unsigned
; and std_logic_signed packages.
StdArithNoWarnings = 1 [removing the semicolon]; Turn off warnings from the IEEE numeric_std and numeric_bit packages.
NumericStdNoWarnings = 1 [removing the semicolon]

Save the file and make it READ-only.


solution 2- using ModelSIM TCL variable
----------
Assuming that you are working the batch/TCL command driven in the GUI mode, after you execute the "vsim" command

type: (this is TCL command)

set StdArithNoWarnings 1
set NumericStdNoWarnings 1

then, type
run -all (or similar)

solution 3- using ModelSIM GUI menu
----------
Assuming that you are working the GUI interactive, after you execute the "vsim" command

halt the simulation using break command

Go to ModelSIM menu, click on Simulate -> SIMULATION options ->

Check on
StdArithNoWarnings Disable
NumericStdNoWarnings Disable

Continue to run your simulation

then, type
run -all (or similar)


solution 4- VHDL recoding
----------

Always initialisation all variables/signals used to known logic state.
 
suppress warnings modelsim

I got a mpf project file, so I remove the mark of the StdArith....
in mpf file & found that works,
If you don't have built a mpf file, then modified .ini file will work.

You must be a veteran!
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top