Answers Database
F1.5, Active-VHDL3.2, synopsys: How to add packages to the Active-VHDL precompiled libraries.
Record #4859
Product Family: Software
Product Line: Aldec
Product Part: Foundation Active VHDL
Product Version: 3.2.215
Problem Title:
F1.5, Active-VHDL3.2, synopsys: How to add packages to the Active-VHDL precompiled
libraries.
Problem Description:
Urgency: Standard
General Description:
How can a package be added to the precompiled libraries included with Active-VHDL?
Example:
The Synopsys attributes library package may be used when synthesizing a design
from F1.5 with the Synopsys Express compiler. For example:
library synopsys;
use synopsys.attributes.all
However, when this HDL file is compiled in the Active-VHDL behavioral simulator,
the following error is produced:
ELBREAD: Elaboration process.
ELBREAD: Error: Package not found: attributes (library: synopsys)
ELBREAD: Error: Elaboration process completed with errors.
Design: Error: Elaboration failed
Solution 1:
Active-VHDL comes with a large number of pre-compilied libraries. If there is a need to add a packag
e to a pre-existing library, follow the steps below:
Select the 'Library Manager' tab. If this tab is not available w/in the open windows, select it from
:
View -> Library Manager
Select the desired library and right mouse click. Select 'Read/Write' to allow the library to be mod
ified.
Add the desired package/file (.vhd file) to your project source files (under the Design Browser - Fi
les window; right mouse click and select 'Add Files to Design').
Select the package/file (click once on it) and right mouse click. Select 'Properties...'.
Now select the 'Compile' tab and select the library you want the package/file added to. Select 'OK'.
Finally, select the package/file (single click - as before) and right mouse click. Select 'Compile'.
The package/file will be added to the library. You can verify this by checking the contents of the l
ibrary.
You can remove the package/file from your source files now. It will not affect your libraries.
For the synopsys.attributes package:
It can be found in $XILINX\Synth\lib\packages\synopsys\src\attributes.vhd
End of Record #4859 - Last Modified: 10/26/98 16:45 |