compile-lattice.ps1
This script pre-compiles the Lattice primitives. This script will generate all
outputs into a lattice
directory.
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.
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 primitives and netlists cannot be pre-compiled by GHDL.
QuestaSim Notes
The pre-compilation for QuestaSim uses a build in program from Lattice.