1.6.2.2.1. Aldec ActiveHDL*またはRiviera Pro* Simulatorセットアップ・スクリプトの入手
1.6.2.2.2. Cadence Incisive* Simulatorセットアップ・スクリプトの入手
1.6.2.2.3. Cadence Xcelium* シミュレーター・セットアップ・スクリプトのソーシング
1.6.2.2.4. Mentor Graphics ModelSim* Simulatorセットアップ・スクリプトの入手
1.6.2.2.5. Synopsys VCS* Simulatorセットアップ・スクリプトの入手
1.6.2.2.6. Synopsys VCS* MX Simulatorセットアップ・スクリプトの入手
3.3. VCSシミュレーションのセットアップ・スクリプト例
インテル® Quartus® Prime開発ソフトウェアは、デザインのIPコアに向けてシミュレーション・セットアップ・スクリプトを生成することができます。 このスクリプトには、必要なシミュレーション・モデルを正しい順序でコンパイルするシェルコマンドが含まれています。このスクリプトはまた、トップレベルのデザインをエラボレートし、100タイムユニットのシミュレーションをデフォルトで実行します。このスクリプトは、Linuxのコマンドシェルから実行できます。
VCSおよびVCS MXのスクリプトが、vcs_setup.sh (Verilog HDLあるいはSystemVerilog用)とvcsmx_setup.sh (VHDLを使用したVerilog HDLおよびSystemVerilogの組み合わせ用)です。生成された.shスクリプトを読み出して、スクリプトをソースする際、あるいはスクリプトを編集した場合に直接再定義を実行するための上書きが可能な変数を確認します。デザイン用にシミュレーション・スクリプトを設定するには、コマンドラインを使用してシェルスクリプトに変数値を渡します。
シミュレーション変数を渡すコマンドラインの使用例
sh vcsmx_setup.sh\
USER_DEFINED_ELAB_OPTIONS=+rad\
USER_DEFINED_SIM_OPTIONS=+vcs+lic+wait
VCS-MX用のトップレベル・シミュレーション・シェル・スクリプトの例
# Run generated script to compile libraries and IP simulation files
# Skip elaboration and simulation of the IP variation
sh ./ip_top_sim/synopsys/vcsmx/vcsmx_setup.sh SKIP_ELAB=1 SKIP_SIM=1 QSYS_SIMDIR="./ip_top_sim"
#Compile top-level testbench that instantiates IP
vlogan -sverilog ./top_testbench.sv
#Elaborate and simulate the top-level design
vcs –lca –t ps <elaboration control options> top_testbench
simv <simulation control options>
VCS用のトップレベル・シミュレーション・シェル・スクリプトの例
# Run script to compile libraries and IP simulation files
sh ./ip_top_sim/synopsys/vcs/vcs_setup.sh TOP_LEVEL_NAME=”top_testbench”\
# Pass VCS elaboration options to compile files and elaborate top-level
passed to the script as the TOP_LEVEL_NAME
USER_DEFINED_ELAB_OPTIONS="top_testbench.sv"\
# Pass in simulation options and run the simulation for specified amount of time.
USER_DEFINED_SIM_OPTIONS=”<simulation control options>