diff options
| author | Fuwn <[email protected]> | 2026-01-28 20:22:25 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-01-28 20:22:25 -0800 |
| commit | 980a0383adca727102524cf45af5f00d9806f2cf (patch) | |
| tree | 5895dbff9f7e6e2b36a1b2a8521d783195d7c012 | |
| parent | feat: Add lab 3 initial content (diff) | |
| download | cst456-980a0383adca727102524cf45af5f00d9806f2cf.tar.xz cst456-980a0383adca727102524cf45af5f00d9806f2cf.zip | |
chore(lab_3): Add utility scripts
| -rw-r--r-- | lab_3/SIM/build_simulation.bat | 4 | ||||
| -rw-r--r-- | lab_3/SIM/run_simulation.bat | 7 | ||||
| -rw-r--r-- | lab_3/SIM/run_waveform.bat | 3 |
3 files changed, 14 insertions, 0 deletions
diff --git a/lab_3/SIM/build_simulation.bat b/lab_3/SIM/build_simulation.bat new file mode 100644 index 0000000..b41e8c9 --- /dev/null +++ b/lab_3/SIM/build_simulation.bat @@ -0,0 +1,4 @@ +@echo off +call C:\Xilinx\Vivado\2022.1\bin\xvlog -nolog -sv ../SRC/duv.sv ../SRC/tb.sv +call C:\Xilinx\Vivado\2022.1\bin\xelab -debug typical -top tb -snapshot duv_tb_snapshot +pause diff --git a/lab_3/SIM/run_simulation.bat b/lab_3/SIM/run_simulation.bat new file mode 100644 index 0000000..a1a1417 --- /dev/null +++ b/lab_3/SIM/run_simulation.bat @@ -0,0 +1,7 @@ +@echo off +call C:\Xilinx\Vivado\2022.1\bin\xvlog -nolog -sv ../SRC/duv.sv ../SRC/tb.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_3/SIM/run_waveform.bat b/lab_3/SIM/run_waveform.bat new file mode 100644 index 0000000..b3ddc9a --- /dev/null +++ b/lab_3/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 |