blob: 81eb902099f1a7cb2bc7f8b8d5ac24ccbdcc3929 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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
|