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

Reply

VHDL - Error: (vcom-11) Could not find work.const

 
Thread Tools Search this Thread
Old 06-08-2006, 10:03 AM   #1
Default Error: (vcom-11) Could not find work.const


Hi everybody!
I'm trying to simulate my design (created using ISE) but I found
several problems.
VHDL code was originally written under ISE 6.1, then I passed to ISE
8.1. It worked good until a translate error occurred, and then I was
unable to execute any translate operation.
So I created a new project, copying all .vhd files I needed. Now ISE
gives me no error, but under Modelsim (XE III/Starter 3.0d) the
following error occurs:

# -- Loading package std_logic_unsigned
# ** Error: (vcom-11) Could not find work.const.
# ** Error: TOP_test.vhw(25): Cannot find expanded name: work.const.
# ** Error: TOP_test.vhw(25): Unknown record element "const".
# -- Loading package textio
# -- Loading package std_logic_textio
# ** Error: TOP_test.vhw(29): VHDL Compiler exiting
# ** Error: C:/Modeltech_xe_starter/win32xoem/vcom failed.
# Error in macro ./TOP_test.ndo line 7
# C:/Modeltech_xe_starter/win32xoem/vcom failed.
# while executing
# "vcom -explicit -93 "TOP_test.vhw""

"TOP_test" is the name of .tbw file I wanna run;
"const" is the name of the VHDL package that contains all parameters I
need.

What can I do?

Thanks

Max



max.giacometti@libero.it
  Reply With Quote
Old 06-08-2006, 10:18 AM   #2
Jonathan Bromley
 
Posts: n/a
Default Re: Error: (vcom-11) Could not find work.const
On 8 Jun 2006 02:03:17 -0700, wrote:

># -- Loading package std_logic_unsigned
># ** Error: (vcom-11) Could not find work.const.

[...]
>"TOP_test" is the name of .tbw file I wanna run;
>"const" is the name of the VHDL package that contains all parameters I
>need.
>
>What can I do?


Compile the package first?
--
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

http://www.MYCOMPANY.com

The contents of this message may contain personal views which
are not the views of Doulos Ltd., unless specifically stated.


Jonathan Bromley
  Reply With Quote
Old 06-08-2006, 10:31 AM   #3
max.giacometti@libero.it
 
Posts: n/a
Default Re: Error: (vcom-11) Could not find work.const

Jonathan Bromley ha scritto:

> Compile the package first?


Under ISE 8.1 I didn't find the way to do that; I can't even check
package sintax.

Max



max.giacometti@libero.it
  Reply With Quote
Old 06-08-2006, 10:54 AM   #4
Jonathan Bromley
 
Posts: n/a
Default Re: Error: (vcom-11) Could not find work.const
On 8 Jun 2006 02:31:51 -0700, wrote:

>
>Jonathan Bromley ha scritto:
>
>> Compile the package first?

>
>Under ISE 8.1 I didn't find the way to do that; I can't even check
>package sintax.


I seem to remember that ISE lets you specify what kind
of VHDL each file represents - design, testbench or package.
I assume that it handles packages correctly if you tell
it about them.

Alternatively, you could stop fooling around with ISE to drive
the simulator, and do it properly from the simulator command
line

vcom mypackage.vhd
vcom mydesign.vhd
vcom mytestbench.vhd
vsim testbench
--
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

http://www.MYCOMPANY.com

The contents of this message may contain personal views which
are not the views of Doulos Ltd., unless specifically stated.


Jonathan Bromley
  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
cannot find media driver HELP!!! plz ncwayneh Hardware 0 06-10-2009 03:14 PM
HELP!! Mp3 phone but cant find a suitable data cable!! alex_1991 General Help Related Topics 1 08-18-2007 07:44 AM
ERROR: Unable to find a version of runtime to run this application sanju_cloud Hardware 0 05-31-2007 11:44 AM
Find dvd to iPod video converter? google@brothersoft.com DVD Video 3 01-04-2006 08:51 AM
Help me find a job!!! Seth Haber A+ Certification 5 12-08-2005 11:52 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