Modelsim .asm files

This is a discussion on Modelsim .asm files within the vhdl forums in Programming Languages category; 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...

Go Back   Application Development Forum > Programming Languages > vhdl

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 08-16-2008, 10:14 AM
oz
Guest
 
Default Modelsim .asm files

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
Reply With Quote
  #2  
Old 08-16-2008, 12:13 PM
Mike Treseler
Guest
 
Default Re: Modelsim .asm files

oz wrote:
> 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
Reply With Quote
  #3  
Old 08-16-2008, 12:18 PM
Jonathan Bromley
Guest
 
Default Re: Modelsim .asm files

On Sat, 16 Aug 2008 09:13:21 -0700, Mike Treseler wrote:

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


[] use std_logic_unsigned, which is basically the same,
until such time as tools and LRM fully support
numeric_unsigned
--
Jonathan Bromley, Consultant

DOULOS - Developing Design Know-how
VHDL * Verilog * SystemC * e * Perl * Tcl/Tk * Project Services

Doulos Ltd., 22 Market Place, Ringwood, BH24 1AW, UK
jonathan.bromley@MYCOMPANY.com
http://www.MYCOMPANY.com

The contents of this message may contain personal views which
are not the views of Doulos Ltd., unless specifically stated.
Reply With Quote
  #4  
Old 08-17-2008, 03:27 AM
James Unterburger
Guest
 
Default Re: Modelsim .asm files

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.)


oz wrote:
> 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

Reply With Quote
  #5  
Old 08-17-2008, 03:35 PM
oz
Guest
 
Default Re: Modelsim .asm files

I have used -novopt together with -93 and it worked.

Thanks...

On Aug 17, 9:27*am, James Unterburger <jam...@europa.com> wrote:
> 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.)
>

Reply With Quote
  #6  
Old 08-18-2008, 11:42 AM
James Unterburger
Guest
 
Default Re: Modelsim .asm files

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.


oz wrote:
> I have used -novopt together with -93 and it worked.
>
> Thanks...
>
> On Aug 17, 9:27 am, James Unterburger <jam...@europa.com> wrote:
>
>>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.)
>>

Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 11:21 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.