Skip to content
Snippets Groups Projects
Commit 7f046f8b authored by Eric Kooistra's avatar Eric Kooistra
Browse files

Clarified run_altera_simlib_comp usage a bit more.

parent 45b42454
No related branches found
No related tags found
No related merge requests found
...@@ -133,12 +133,23 @@ d) Compiling the Altera libraries for simulation with Modelsim ...@@ -133,12 +133,23 @@ d) Compiling the Altera libraries for simulation with Modelsim
The Altera verilog and vhdl libraries for the required FPGA device families can be compile using: The Altera verilog and vhdl libraries for the required FPGA device families can be compile using:
> tools/quartus/run_altera_simlib_comp <tool target> <compilation output directory> <FPGA device family> > tools/quartus/run_altera_simlib_comp <tool target> <compilation output directory> <FPGA device family>
This run_altera_simlib_comp script must be used and not the tools/Launch simulation library compiler in the Quartus GUI, because For Modelsim versions newer than about version 10 this run_altera_simlib_comp script must be used and not the tools/Launch simulation library compiler in the Quartus GUI, because
the libraries have to be compiled with the 'vlib -type directory' option to be able to use 'mk all'. the libraries have to be compiled with the 'vlib -type directory' option to be able to use 'mk all'.
The run_altera_simlib_comp uses set_modelsim and set_quartus to make the tool settings for Modelsim and Quartus. The run_altera_simlib_comp uses set_modelsim and set_quartus to make the tool settings for Modelsim and Quartus.
For example:
# For toolset 'unb1' with only stratixiv the libraries can be compiled with the GUI (because 'unb1' uses Modelsim 6.6.c < 10) or one may use:
> run_altera_simlib_comp unb1 11.1 stratixiv
# For toolset 'unb2' with arria10 and also support for stratixiv
> run_altera_simlib_comp unb2 14.1 stratixiv
> run_altera_simlib_comp unb2 14.1 arria10
Note that the second argument of the Quartus version is used as OUTPUT_DIR and must match the toolset.
e) Quartus user_components.ipx e) Quartus user_components.ipx
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment