From 7f046f8b95a610500363dbc979f3ac6c8922cd00 Mon Sep 17 00:00:00 2001
From: Erik Kooistra <kooistra@astron.nl>
Date: Mon, 20 Apr 2015 14:29:57 +0000
Subject: [PATCH] Clarified run_altera_simlib_comp usage a bit more.

---
 tools/hdltool_readme.txt | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

diff --git a/tools/hdltool_readme.txt b/tools/hdltool_readme.txt
index fb04a43639..a0d76b7ecb 100644
--- a/tools/hdltool_readme.txt
+++ b/tools/hdltool_readme.txt
@@ -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:
 
  > 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 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
 
-- 
GitLab