diff options
| author | Fuwn <[email protected]> | 2026-02-13 23:23:19 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-02-13 23:23:19 -0800 |
| commit | 583bec7ffd3c2809ea41aa8a518f53403af3efaa (patch) | |
| tree | 551fa62ee04d40616db4f2375176c362ae6f3cbc /lab_2/SIM | |
| download | cst456-583bec7ffd3c2809ea41aa8a518f53403af3efaa.tar.xz cst456-583bec7ffd3c2809ea41aa8a518f53403af3efaa.zip | |
Initial commit
Diffstat (limited to 'lab_2/SIM')
| -rw-r--r-- | lab_2/SIM/run_simulation.bat | 7 | ||||
| -rw-r--r-- | lab_2/SIM/run_waveform.bat | 3 | ||||
| -rw-r--r-- | lab_2/SIM/xsim_cfg.tcl | 3 |
3 files changed, 13 insertions, 0 deletions
diff --git a/lab_2/SIM/run_simulation.bat b/lab_2/SIM/run_simulation.bat new file mode 100644 index 0000000..1a1f71f --- /dev/null +++ b/lab_2/SIM/run_simulation.bat @@ -0,0 +1,7 @@ +@echo off +call C:\Xilinx\Vivado\2022.1\bin\xvlog -nolog -sv ../SRC/typedef_pkg.sv ../SRC/tb.sv ../SRC/duv.sv +call C:\Xilinx\Vivado\2022.1\bin\xelab -debug typical -top tb -snapshot duv_tb_snapshot +call C:\Xilinx\Vivado\2022.1\bin\xsim duv_tb_snapshot -R +call C:\Xilinx\Vivado\2022.1\bin\xsim duv_tb_snapshot --tclbatch xsim_cfg.tcl +call C:\Xilinx\Vivado\2022.1\bin\xsim --gui duv_tb_snapshot.wdb +pause diff --git a/lab_2/SIM/run_waveform.bat b/lab_2/SIM/run_waveform.bat new file mode 100644 index 0000000..b3ddc9a --- /dev/null +++ b/lab_2/SIM/run_waveform.bat @@ -0,0 +1,3 @@ +@echo off +call C:\Xilinx\Vivado\2022.1\bin\xsim duv_tb_snapshot --tclbatch xsim_cfg.tcl +call C:\Xilinx\Vivado\2022.1\bin\xsim --gui duv_tb_snapshot.wdb diff --git a/lab_2/SIM/xsim_cfg.tcl b/lab_2/SIM/xsim_cfg.tcl new file mode 100644 index 0000000..b7c49f5 --- /dev/null +++ b/lab_2/SIM/xsim_cfg.tcl @@ -0,0 +1,3 @@ +log_wave -recursive *
+run all
+exit
\ No newline at end of file |