From dc0b3db1b4f1895a07e5fe280ee3790e87f97b9f Mon Sep 17 00:00:00 2001 From: Ataberk Date: Sun, 25 Sep 2022 17:22:03 +0200 Subject: Initial commit --- projects/VU095/source.tcl | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 projects/VU095/source.tcl (limited to 'projects/VU095/source.tcl') 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 + -- cgit v1.2.3