Answers Database


F1.4 Schematic: How to import and edit a macro without affecting the original source file


Record #3833

Product Family: Software

Product Line: Aldec

Product Part: Foundation General

Problem Title:
F1.4 Schematic: How to import and edit a macro without affecting the original source file


Problem Description:
Urgency: Normal

General Description:

Sometimes, it is desireable to import some user defined macros from other
project libraries and customize those without affecting the original source file. If you simply attach library to the current project and edit the macro in the new project, you will act ually be editting the original macro in the single attached library.
attached library, It will therefore affect the source file, thus, the original macro in the original project as well.


Solution 1:

To do this, copy each macro object individually from the original project library to the current lib rary. This way you will now have 2 copies of the macro, one in each project library.
1. Open library manager. (Tools -> Library Manager)
2. Highlight the project library that contains the desired macro.
3. Click on the Objects tab to view all the macro objects in
this library.
4. Highlight the object name that you wish to copy, select
Object -> Copy, then fill out the Destination section, making
sure the destination library is chosen correctly.

You will now have a local copy of the macro in the new project library.





End of Record #3833 - Last Modified: 08/04/98 11:42

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