diff options
| author | Ataberk <olgunataberk@gmail.com> | 2022-09-25 17:22:03 +0200 |
|---|---|---|
| committer | Ataberk <olgunataberk@gmail.com> | 2022-09-25 17:22:03 +0200 |
| commit | dc0b3db1b4f1895a07e5fe280ee3790e87f97b9f (patch) | |
| tree | b47203aa281bdd959def4451c84d310cd9cf2e12 /projects/VU095/source.tcl | |
| download | dram-bender-dc0b3db1b4f1895a07e5fe280ee3790e87f97b9f.tar.gz | |
Initial commit
Diffstat (limited to 'projects/VU095/source.tcl')
| -rw-r--r-- | projects/VU095/source.tcl | 23 |
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 + |
