24.03.2013 Views

ModelSim SE User's Manual - Electrical and Computer Engineering

ModelSim SE User's Manual - Electrical and Computer Engineering

ModelSim SE User's Manual - Electrical and Computer Engineering

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Mistaking a component or module name for an instance label<br />

Troubleshooting UM-453<br />

Another common error is to specify the component or module name rather than the instance<br />

label. For example, the following invocation is wrong for the above testbenches:<br />

vsim -sdfmax /testbench/myasic=myasic.sdf testbench<br />

This results in the following error message:<br />

Forgetting to specify the instance<br />

** Error (vsim-SDF-3250) myasic.sdf(0):<br />

Failed to find INSTANCE ’/testbench/myasic’.<br />

If you leave off the instance altogether, then the simulator issues a message for each<br />

instance path in the SDF that is not found in the design. For example,<br />

vsim -sdfmax myasic.sdf testbench<br />

Results in:<br />

** Error (vsim-SDF-3250) myasic.sdf(0):<br />

Failed to find INSTANCE ’/testbench/u1’<br />

** Error (vsim-SDF-3250) myasic.sdf(0):<br />

Failed to find INSTANCE ’/testbench/u2’<br />

** Error (vsim-SDF-3250) myasic.sdf(0):<br />

Failed to find INSTANCE ’/testbench/u3’<br />

** Error (vsim-SDF-3250) myasic.sdf(0):<br />

Failed to find INSTANCE ’/testbench/u4’<br />

** Error (vsim-SDF-3250) myasic.sdf(0):<br />

Failed to find INSTANCE ’/testbench/u5’<br />

** Warning (vsim-SDF-3432) myasic.sdf:<br />

This file is probably applied to the wrong instance.<br />

** Warning (vsim-SDF-3432) myasic.sdf:<br />

Ignoring subsequent missing instances from this file.<br />

After annotation is done, the simulator issues a summary of how many instances were not<br />

found <strong>and</strong> possibly a suggestion for a qualifying instance:<br />

** Warning (vsim-SDF-3440) myasic.sdf:<br />

Failed to find any of the 358 instances from this file.<br />

** Warning (vsim-SDF-3442) myasic.sdf:<br />

Try instance ’/testbench/dut’. It contains all instance paths from this<br />

file.<br />

The simulator recommends an instance only if the file was applied to the top-level <strong>and</strong> a<br />

qualifying instance is found one level down.<br />

Also see "Resolving errors" (UM-443) for specific VHDL VITAL SDF troubleshooting.<br />

<strong>ModelSim</strong> <strong>SE</strong> User’s <strong>Manual</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!