How to create a new Xilinx core VHDL library and compile related files?

Solution

Please follow these steps:

  1. Select File | New | Design from the main menu.

  2. Select Add existing Resource Files.

  3. Click Add Files button and select the source files that represent xilinxcorelib library.

  4. Click Next twice. Specify the design name (if any).

  5. Specify xilinxcorelib as a name of the default working library of the design.

  6. Click Finish.

  7. Execute command in console window:

acom -o -work xilinxcorelib $OPT -f ./src/xilinxcorelib.opt 

All the files will be compiled automatically. A library named Xilinxcorelib is created with file Xilinxcorelib.lib file in your design folder. You can then attach this library as global or local library in the Library Manager.

You may find more details about libraries in Active-HDL Help: Contents tab | Active-HDL Help | Using Active-HDL | Libraries.



Printed version of site: www.aldec.com/en/support/resources/documentation/faq/1316