1
0
forked from tanchou/Verilog
Files
Gamenight77 f5e73d7379 struct
2025-05-02 15:51:18 +02:00

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