modelsim: change the vsim.wlf location

Status
Not open for further replies.

ayden23

Newbie level 1
Joined
Dec 11, 2016
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
8
hi,

i'm a student and i have small question, i have simulation that i need to change the destination for the creating "vsim.wlf" once i run the following "do" file, so it will be created on f drive in test folder.


vlog -work work sim_benchmark.v
vsim -novopt work.sim_benchmark
set t0 [clock seconds]
log -r /*
run 4000us
set t1 [clock seconds]

set delta_t [expr $t1 - $t0]
echo "elapced time : $delta_t"
 

Add "-wlf <filename>" to the vsim command to specify the .wlf file location.

Type "vsim -help" to see a list of all the options that are available. Or type "vsim" and it will pull up the GUI which lets you specify the various options.

Kevin Jennings
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…