axi_lite_pwm/ax_dma.sim/sim_1/behav/xsim/simulate.bat
2024-05-29 08:51:51 +08:00

26 lines
1.1 KiB
Batchfile

@echo off
REM ****************************************************************************
REM Vivado (TM) v2022.2 (64-bit)
REM
REM Filename : simulate.bat
REM Simulator : Xilinx Vivado Simulator
REM Description : Script for simulating the design by launching the simulator
REM
REM Generated by Vivado on Sun May 26 03:58:48 +0800 2024
REM SW Build 3671981 on Fri Oct 14 05:00:03 MDT 2022
REM
REM IP Build 3669848 on Fri Oct 14 08:30:02 MDT 2022
REM
REM usage: simulate.bat
REM
REM ****************************************************************************
REM simulate design
echo "xsim test_axi_v1_0_tb_behav -key {Behavioral:sim_1:Functional:test_axi_v1_0_tb} -tclbatch test_axi_v1_0_tb.tcl -protoinst "protoinst_files/design_1.protoinst" -protoinst "protoinst_files/test_axi_v1_0_bfm_1.protoinst" -log simulate.log"
call xsim test_axi_v1_0_tb_behav -key {Behavioral:sim_1:Functional:test_axi_v1_0_tb} -tclbatch test_axi_v1_0_tb.tcl -protoinst "protoinst_files/design_1.protoinst" -protoinst "protoinst_files/test_axi_v1_0_bfm_1.protoinst" -log simulate.log
if "%errorlevel%"=="0" goto SUCCESS
if "%errorlevel%"=="1" goto END
:END
exit 1
:SUCCESS
exit 0