aboutsummaryrefslogtreecommitdiffstats
path: root/projects/VU095/source.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'projects/VU095/source.tcl')
-rw-r--r--projects/VU095/source.tcl23
1 files changed, 23 insertions, 0 deletions
diff --git a/projects/VU095/source.tcl b/projects/VU095/source.tcl
new file mode 100644
index 0000000..81eb902
--- /dev/null
+++ b/projects/VU095/source.tcl
@@ -0,0 +1,23 @@
+if {$argv == "debug"} {
+ set dir [string trim $argv0 "source.tcl"]
+
+ set path [format "%sVU095.sim/sim_1/behav/xsim" $dir]
+ cd $path
+
+ set path [format "%sdebug.tcl" $dir]
+ xsim sim_tb_top_behav -key {Behavioral:sim_1:Functional:tb} -tclbatch "$path"
+} elseif {$argv == "update"} {
+ launch_simulation
+} elseif {$argv == "first"} {
+ launch_simulation
+
+ set dir [string trim $argv0 "source.tcl"]
+
+ set path [format "%sVU095.sim/sim_1/behav/xsim" $dir]
+ cd $path
+
+ set path [format "%sdebug.tcl" $dir]
+ xsim sim_tb_top_behav -key {Behavioral:sim_1:Functional:tb} -tclbatch "$path"
+}
+exit
+