Go Back   Velocity Reviews > Newsgroups > VHDL
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

VHDL - Modelsim .asm files

 
Thread Tools Search this Thread
Old 08-16-2008, 03:14 PM   #1
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


oz
  Reply With Quote
Old 08-16-2008, 05:13 PM   #2
Mike Treseler
 
Posts: n/a
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


Mike Treseler
  Reply With Quote
Old 08-17-2008, 08:27 AM   #3
James Unterburger
 
Posts: n/a
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



James Unterburger
  Reply With Quote
Old 08-17-2008, 08:35 PM   #4
oz
 
Posts: n/a
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.)
>



oz
  Reply With Quote
Old 08-18-2008, 04:42 PM   #5
James Unterburger
 
Posts: n/a
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.)
>>



James Unterburger
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert Video files to PSP ivan DVD Video 4 06-17-2008 11:16 AM
How to copy *.vob files on DVD to the hard disk and merge them together zengpeiwen1719 Software 0 05-24-2008 10:33 AM
Convert Video files to MP4 for iPod ivan DVD Video 0 04-26-2006 08:38 AM
Very slow recognising DVD disc Terry Pinnell DVD Video 1 03-28-2006 06:53 PM
Now I introduce some popular software of multimedia eightsome@gmail.com DVD Video 0 03-28-2006 02:29 PM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46