Answers Database


Foundation Project Manager: How to copy a user created macro from one project to another?


Record #2161

Product Family: Software

Product Line: Aldec

Product Part: Foundation Project Manager

Problem Title:
Foundation Project Manager: How to copy a user created macro from one project to another?


Problem Description:
Urgency: Standard

General Description:
There are two ways to utilize a user-defined macro created within another
project. You can either copy the macro from the original project working
library to the working library of your current project or add the original
project working library to your current project. In the latter case, your
current project will share the library with the original project.


Solution 1:

To copy a macro from one library to another:

1. Run Library Manager by selecting Applications -> Library Manager
from the Project Managers toolbar.

2. Double-click the source library name in the Library Manager window.
The List Objects... window will open.

3. Select the desired macro name.

4. In the Library Manager window, choose Copy from the Object menu.
The Copy Object window will open.

5. Select the library name in the Destination Library list box, and then
click the Copy button.

6. Click Close in the List Objects... window and exit Library Manager.

NOTE: If you copy HDL macros, you need to manually copy source
files (either *.VHD or *.ABL) from the original project directory to the
current project directory

To add to the current project the working library from another project:

1. In the Project Manager, choose Libraries from the File menu. The
Libraries window will open.

2. In the Attached Libraries list box, find and select the library you wish
to add.

3. Click the Add>> button.

4. Click Close to complete the operation. Since that moment, all
components from the other project will be available in your current project.




End of Record #2161 - Last Modified: 04/29/99 13:38

For the latest news, design tips, and patch information on the Xilinx design environment, check out the Technical Tips!