![]() |
|
|
|
#1 |
|
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 |
|
|
|
|
#2 |
|
Posts: n/a
|
If you talking about somthing like this
component andgate ( ); .... ... ... .... andgate : andgate port map (........................) ; ... ... yes, it will complain. Praveen |
|
|
|
#3 |
|
Posts: n/a
|
"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 |
|
|
|
#4 |
|
Posts: n/a
|
> > 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 |
|
![]() |
| Thread Tools | Search this Thread |
|
|
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 |