Include unisim library by default

In all projects we are working at, the library unisim (from Xilinx) is used. I was able to implement the library in each project separately but I'm looking for a way to make like a "global" definition so that this library will be implemented in every project I'm opening or creating.

Include unisim library by default

We currently do not have a feature that allows to include a VHDL library in every project by default.

However there are simple workarounds (that can easily be scripted).

The libraries are specified in a simple xml file for each project (.libraries.xml). This file is hidden by default but can easily be opened: press Ctrl-Shift-R and start typing ".libraries.xml"
The unisim library is just one entry in this file.
For Xilinx ISE 11.1 this is:
Windows: <item library="unisim" location="file:/c:/Xilinx/11.1/ISE/vhdl/src/unisims"/>
Linux: <item library="unisim" location="file:/opt/Xilinx/11.1/ISE/vhdl/src/unisims"/>

Another option is to copy the .libraries.xml file from another project if you need no other project specific library settings.

Hendrik.

User interface?

We have been discussing the possible user interface for this feature request and came up with an alternative solution:

We propose to implement a quick-fix to add Unisim (and XilinxCoreLib) to the library definitions.

Since Sigasi HDT knows the Xilinx installation location (Preferences > VHDL > Xilinx), it could add the correct path automatically. This is much simpler than the current, default library settings dialogs.

This quick-fix would be a really light weight/effort UI and would only add the Unisim when necessary for the project.

What do you think?

Hendrik.

Re: User interface?

This solution seems to be logic and easy in the same way. I'd be very happy with this solution.

Best Regards, Simon

Post new comment

The content of this field is kept private and will not be shown publicly.
By submitting this form, you accept the Mollom privacy policy.