forked from tanchou/Verilog
18 lines
634 B
Batchfile
18 lines
634 B
Batchfile
rem @echo off
|
|
set PATH=%PATH%;c:\Xilinx\Vivado\2023.2\bin
|
|
set top=blink_tb
|
|
if not exist output mkdir output
|
|
rem call xvlog %FILES%
|
|
rem IF %ERRORLEVEL% NEQ 0 goto end
|
|
rem call xelab -debug typical %top% -s top_sim
|
|
echo Calling XELAB...
|
|
call xelab -nolog -prj project\blink.prj -debug typical %top% -s top_sim --override_timeunit --override_timeprecision --timescale 1ns/1ps
|
|
rem IF %ERRORLEVEL% NEQ 0 goto end
|
|
rem call xsim top_sim -t xsim_run.tcl
|
|
echo Calling XSIM...
|
|
call xsim top_sim -nolog -R --wdb output/top_sim.wdb
|
|
start gtkwave %top%.vcd %top%.gtkw --script gtk_wave_all_signals.tcl
|
|
del xsim.jou
|
|
del xelab.pb
|
|
del webtalk*
|
|
:end |