Modelsim .asm files

O

oz

IEEE numeric_unsigned library did not come with Modelsim 6.3 and I had
to compile it. I have compiled it into ieee library without any
errors. However, when I try to load my design to modelsim I keep on
getting the following error.
# ** Error: (vsim-3171) Could not find machine code for 'C:
\FPGAdv81LSPS\Modeltech\ieee.numeric_unsigned'.
# No such file or directory. (errno = ENOENT)

I have checked other Modeltech ieee library directories and in them I
have found body.asm and _vhdl.asm files.

Does anyone know how to get these files?

TIA
 
M

Mike Treseler

oz said:
IEEE numeric_unsigned library did not come with Modelsim 6.3 and I had
to compile it. I have compiled it into ieee library without any
errors. However, when I try to load my design to modelsim I keep on
getting the following error.
# ** Error: (vsim-3171) Could not find machine code for 'C:
\FPGAdv81LSPS\Modeltech\ieee.numeric_unsigned'.
# No such file or directory. (errno = ENOENT)
I have checked other Modeltech ieee library directories and in them I
have found body.asm and _vhdl.asm files.

Does anyone know how to get these files?

Call Mentor?
Other choices:
[] compile into work and use work.numeric_unsigned
[] use numeric_std instead of numeric_unsigned
[] use natural ranges for +,-,*

-- Mike Treseler
 
J

James Unterburger

Did you use the -novopt switch? I'm not sure what happens if the
switch is not given, and the target library is one of the libraries
that is specially marked (as being a ModelSim-supplied library),
and the .asm files don't exist. ModelSim may not attempt to "refresh"
(generate the missign .asm) in this case, given that the library
is one of the ModelSim-supplied ones.
(I don't speak for Mentor Graphics or ModelSim here, I'm just guessing
as an individual.)
 
J

James Unterburger

You should not need the -93 to produce the .asm file.
The -93 is needed only if the VHDL source contains
some non-2002 compatible constructs that follow the 1993
LRM. Note that 2002 is the default. If you have a modelsim.ini
file, then make sure the [vcom] section variable "VHDL93" is
set appropriately for whatever version your VHDL source follows.

The -novopt is necessary because ModelSim will not "refresh"
(create the .asms) anything in the IEEE library that is shipped
with ModelSim. Usually this library is locked down (by the O/S),
so refreshing wouldn't be allowed anyway. Mentor assumes that all the
stuff in IEEE has already been placed there with the rebuild_libs.csh
script. So any design units that you put there had better already
have the .asm file. Note that putting extra stuff into IEEE
is not a recommended usage of the tool.

Again, these answers/suggestions are offered in my individual capacity
as a user of ModelSim.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,070
Latest member
BiogenixGummies

Latest Threads

Top