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

Reply

VHDL - Instance Name

 
Thread Tools Search this Thread
Old 04-07-2005, 03:44 PM   #1
Default Instance Name


Hi newsgroup,

is it ok when I use the name of a component for its instantiation ?
Or do arise any confusing problems for the compiler when doing so ?

Thank you for your help.

Rgds
André


ALuPin
  Reply With Quote
Old 04-07-2005, 07:48 PM   #2
Praveen
 
Posts: n/a
Default Re: Instance Name
If you talking about somthing like this

component andgate
(
);
....
...
...
....
andgate : andgate port map (........................) ;
...
...

yes, it will complain.



Praveen
  Reply With Quote
Old 04-08-2005, 08:17 AM   #3
ALuPin
 
Posts: n/a
Default Re: Instance Name
"Praveen" <> wrote in message news:< roups.com>...
> If you talking about somthing like this
>
> component andgate
> (
> );
> ...
> ..
> ..
> ...
> andgate : andgate port map (........................) ;
> ..
> ..
>
> yes, it will complain.



Yes, that is what I was talking about.

Rgds
André


ALuPin
  Reply With Quote
Old 04-08-2005, 04:36 PM   #4
Eric DELAGE
 
Posts: n/a
Default Re: Instance Name
> > andgate : andgate port map (........................) ;

You should try the following:

- put your component into a separate package P ;
- add to your VHDL code
...
use work.P;
...
andgate: P.andgate port map (.....);
...

This avoids the collision name issue and therefore should allow your
instanciation. Please note that Synplify and ModelSim support this
legal VHDL construct but Xilinx ISE not (or le's say that I haven't
succeed to use it w/ XST

Eric


Eric DELAGE
  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
Need help finding installers for unkown drivers OasisPriest Hardware 1 02-02-2009 05:34 PM
"The biggest scandal to ever hit American politics" Jas DVD Video 149 12-05-2004 02:47 PM
Re: 7. The truth about our creator. .7 john smith DVD Video 2 07-25-2003 03:54 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