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

Reply

VHDL - Making library for FPHDL

 
Thread Tools Search this Thread
Old 05-26-2006, 01:32 PM   #1
Default Making library for FPHDL


Hi
I want to generate the IEEE_PROPOSED library using Modelsim6.1 .
I can see an "compile.mti" file, but dont know how to use it.

I searched but could not found anything about .mti file. Macros have to
be in .do format.
How do I use "compile.mti" than ?

THanks



Ved
  Reply With Quote
Old 05-26-2006, 05:28 PM   #2
Mike Treseler
 
Posts: n/a
Default Re: Making library for FPHDL
Ved wrote:

> I want to generate the IEEE_PROPOSED library using Modelsim6.1 .
> I can see an "compile.mti" file, but dont know how to use it.


Step one is look at in an editor.

> I searched but could not found anything about .mti file. Macros have to
> be in .do format.


Modelsim doesn't really care about the name.
..do just lets the gui list them for you.
it can be .do .tcl .mti or .eieio

> How do I use "compile.mti" than ?


If it is indeed a vsim script, that would be.

vsim -c mytb -do compile.mti

-- Mike Treseler


Mike Treseler
  Reply With Quote
Old 05-27-2006, 11:45 PM   #3
David Bishop
 
Posts: n/a
Default Re: Making library for FPHDL
Ved wrote:
> Hi
> I want to generate the IEEE_PROPOSED library using Modelsim6.1 .
> I can see an "compile.mti" file, but dont know how to use it.


compile.mti is a compile script, just run it.

If it won't run, bring it up in an editor and run the compile commands
individually.



David Bishop
  Reply With Quote
Old 05-28-2006, 06:34 PM   #4
Ved
 
Posts: n/a
Default Re: Making library for FPHDL

Hi David,
I tried to create the library by usual method in modelsim, and got
huge list of errors, a part of which I am posting below.
Please point out the fault in the process I am following.

-------------------------Log----------------------------
vcom -reportprogress 300 -work ieee.lib
C:/ModelSim_Development/vhdlFPHDL/vhpi_pkg_body.vhd
# Model Technology ModelSim SE vcom 6.0a Compiler 2004.09 Sep 24 2004
# -- Loading package standard
# -- Compiling package body vhpi
# -- Loading package vhpi
vcom -reportprogress 30 -work ieee.lib
C:/ModelSim_Development/vhdlFPHDL/fixed_synth.vhd
# Model Technology ModelSim SE vcom 6.0a Compiler 2004.09 Sep 24 2004
# -- Loading package standard
# -- Loading package textio
# -- Loading package std_logic_1164
# ** Error: (vcom-11) Could not find ieee.lib.numeric_std.
# ** Error: C:/ModelSim_Development/vhdlFPHDL/fixed_synth.vhd(12):
Cannot find expanded name: ieee.numeric_std.
# ** Error: C:/ModelSim_Development/vhdlFPHDL/fixed_synth.vhd(12):
Unknown record element "numeric_std".
# ** Error: (vcom-11) Could not find ieee.lib.fixed_pkg.
# ** Error: C:/ModelSim_Development/vhdlFPHDL/fixed_synth.vhd(13):
Cannot find expanded name: ieee.fixed_pkg.
# ** Error: C:/ModelSim_Development/vhdlFPHDL/fixed_synth.vhd(13):
Unknown record element "fixed_pkg".
# ** Error: C:/ModelSim_Development/vhdlFPHDL/fixed_synth.vhd(14): VHDL
Compiler exiting
vcom -reportprogress 30 -work ieee.lib
C:/ModelSim_Development/vhdlFPHDL/float_alg_pkg.vhd
# Model Technology ModelSim SE vcom 6.0a Compiler 2004.09 Sep 24 2004
# -- Loading package standard
# -- Loading package textio
# -- Loading package std_logic_1164
# ** Error: (vcom-11) Could not find ieee.lib.fixed_pkg.
# ** Error: C:/ModelSim_Development/vhdlFPHDL/float_alg_pkg.vhd(16):
Cannot find expanded name: ieee.fixed_pkg.
# ** Error: C:/ModelSim_Development/vhdlFPHDL/float_alg_pkg.vhd(16):
Unknown record element "fixed_pkg".
# ** Error: (vcom-11) Could not find ieee.lib.float_pkg.
# ** Error: C:/ModelSim_Development/vhdlFPHDL/float_alg_pkg.vhd(17):
Cannot find expanded name: ieee.float_pkg.
# ** Error: C:/ModelSim_Development/vhdlFPHDL/float_alg_pkg.vhd(17):
Unknown record element "float_pkg".
# ** Error: C:/ModelSim_Development/vhdlFPHDL/float_alg_pkg.vhd(19):
VHDL Compiler exiting
vcom -reportprogress 30 -work ieee.lib
C:/ModelSim_Development/vhdlFPHDL/float_alg_pkg_body.vhd
# Model Technology ModelSim SE vcom 6.0a Compiler 2004.09 Sep 24 2004
# -- Loading package standard
# ** Error: (vcom-11) Could not find ieee.lib.numeric_std.
# ** Error:
C:/ModelSim_Development/vhdlFPHDL/float_alg_pkg_body.vhd(16): Cannot
find expanded name: ieee.numeric_std.
# ** Error:
C:/ModelSim_Development/vhdlFPHDL/float_alg_pkg_body.vhd(16): Unknown
record element "numeric_std".
# -- Loading package math_real
# ** Error: (vcom-11) Could not find ieee.lib.fixed_alg_pkg.
# ** Error:
C:/ModelSim_Development/vhdlFPHDL/float_alg_pkg_body.vhd(1: Cannot
find expanded name: work.fixed_alg_pkg.
# ** Error:
C:/ModelSim_Development/vhdlFPHDL/float_alg_pkg_body.vhd(1: Unknown
record element "fixed_alg_pkg".
# ** Error:
C:/ModelSim_Development/vhdlFPHDL/float_alg_pkg_body.vhd(19): VHDL
Compiler exiting
vcom -reportprogress 30 -work ieee.lib
C:/ModelSim_Development/vhdlFPHDL/float_alg_pkg_body_real.vhd
# Model Technology ModelSim SE vcom 6.0a Compiler 2004.09 Sep 24 2004
# -- Loading package standard
# -- Loading package math_real
# -- Compiling package body float_alg_pkg
# ** Error: (vcom-11) Could not find ieee.lib.float_alg_pkg.
# ** Error:
C:/ModelSim_Development/vhdlFPHDL/float_alg_pkg_body_real.vhd(12): VHDL
Compiler exiting
............
...........
..........
...........

David Bishop wrote:

>
> compile.mti is a compile script, just run it.
>
> If it won't run, bring it up in an editor and run the compile commands
> individually.




Ved
  Reply With Quote
Old 06-05-2006, 02:19 AM   #5
David Bishop
 
Posts: n/a
Default Re: Making library for FPHDL
Ved wrote:
> Hi David,
> I tried to create the library by usual method in modelsim, and got
> huge list of errors, a part of which I am posting below.
> Please point out the fault in the process I am following.


> # ** Error: (vcom-11) Could not find ieee.lib.numeric_std.
> # ** Error: C:/ModelSim_Development/vhdlFPHDL/fixed_synth.vhd(12):
> Cannot find expanded name: ieee.numeric_std.
> # ** Error: C:/ModelSim_Development/vhdlFPHDL/fixed_synth.vhd(12):


I see the problem.

"fixed_synth" was designed as a testcase for the IEEE versions of the
libraries.

1) get the fixed_pkg_c.vhdl
go here:
http://www.vhdl.org/vhdl-200x/vhdl-2...ges/files.html
(http://www.vhdl.org/vhdl-200x/vhdl-2...xed_pkg_c.vhdl)
Because the eda.org site has been hijacked.

compile it into your "work" library.

Modify the "fixed_synth.vhd" to use "work.fixed_pkg.all", not IEEE, and
it should work.


David Bishop
  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
error: java.lang.UnsatisfiedLinkError: Can't load library: /home/nalgo01/libcImpl.so gopinath511 Software 0 01-07-2009 09:13 AM
SFX Sound Effects Libraries - Cheap!! Barbara DVD Video 1 11-11-2006 12:23 PM
DVD Verdict reviews: JULIA, EXPOSED: THE MAKING OF A LEGEND, and more! DVD Verdict DVD Video 0 02-24-2006 10:27 AM
21st Century E-Commerce Money Making Formula NeoOne DVD Video 0 01-04-2005 03:25 AM
Winged Migration making of kix ass... Evil DVD Video 1 11-21-2003 02:01 AM




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