| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| 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 |
|
#2
| |||
| |||
| 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 |
|
#3
| |||
| |||
| 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. |
|
#4
| |||
| |||
| 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 |
|
#5
| |||
| |||
| 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.) > |
|
#6
| |||
| |||
| 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.) >> |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.