compile-xilinx-vivado.ps1

This script pre-compiles the Xilinx primitives. Because Xilinx offers two tool chains (ISE, Vivado), this script will generate all outputs into a xilinx-vivado directory and a symlink to xilinx will be created. This eases the coexistence of pre-compiled primitives from ISE and Vivado. The symlink can be changed by the user or via -ReLink.

Supported Simulators

Target Description
All pre-compile for all simulators
GHDL pre-compile for the GHDL simulator
Questa pre-compile for Metor Graphics QuestaSim

Command Line Options

-Help

Show the embedded help page(s).

-Clean

Clean up directory before analyzing.

-All

Pre-compile all libraries and packages for all simulators.

-GHDL

Pre-compile the Altera Quartus libraries for GHDL.

-Questa

Pre-compile the Altera Quartus libraries for QuestaSim.

Change the ‘xilinx’ symlink to ‘xilinx-vivado’.

Additional Options for GHDL

-VHDL93

For GHDL only: Set VHDL Standard to ‘93.

-VHDL2008

For GHDL only: Set VHDL Standard to ‘08.

GHDL Notes

Not all primitives and macros are available as plain VHDL source code. Encrypted SecureIP primitives and netlists cannot be pre-compiled by GHDL.

QuestaSim Notes

The pre-compilation for QuestaSim uses a build in program from Xilinx.