![]() |
|
|
|
#1 |
|
Hi,
I'm writing a VHDL program consisting of multiple entities, using multiple packages that sometimes contain equal signal names. So, I must hide the declared signals from each other: Code:
This doesnt work when compiling in Xilinx (it says the required filenames that should be known from the package cannot be recognized in the architecture) Is it impossible to use packages there? Some VHDL texts I've read say it well is possible.. Yea, I know the cheap way would be to just put the signals there instead of including them by a package, but I'd like to make it work with packages. Addendum: Another possibility I've tried is just adding variable declarations in each source file before the entity, at the beginning of the file (each of my source files only contains one entity and one architecture). This compiles fine in ModelSim (scope of a package maybe only valid to the entity directly following the declaration). However, this fails when I try to do this in Xilinx ISE because such package inclusions are treated as global. toller |
|
|
|
|
|
|
#2 |
|
Junior Member
Join Date: Apr 2008
Posts: 3
|
Disregard this post, will repost in VHDL newsgroup. Sorry..
toller |
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Passing value with out using variable in query string in PHP! | Ali_ggl | General Help Related Topics | 0 | 11-29-2008 12:22 PM |
| How to set another machine's environment variable? | vinay.babu | Software | 0 | 10-16-2008 12:54 PM |
| Must declare the scalar variable "@Product_ID". | iquad | Software | 0 | 11-10-2007 06:26 AM |
| How to know if a variable is null | peace2007 | Software | 1 | 09-30-2007 06:22 AM |
| Variable Scope in asp.Net | jansi_rk | Software | 1 | 09-18-2006 06:05 PM |