Cadence NCSIM waveform dumping issue

Hello,

I am using Cadence irun for simulation
I am facing issue with redirecting the waveform dump to the log directory. It is dumping in the current directory

Suppose i am calling the irun command from folder /script/
irun -uvm -f tb_filelist.f -seed random -access rwc -top tb_top -errormax 30 -input debug.tcl -l $LOG_PATH/$1.log +UVM_VERBOSITY=UVM_FULL +UVM_TESTNAME=$1
where $1 is the inline argument i am providing

And the content of debug.tcl is below
database -open waves -into waveform -shm
probe -create -shm -database waves worklib.uvm_pkg::uvm_top -all -depth all
probe tb_top -all -database waves -depth all
uvm_set -config * recording_detail UVM_FULL
run
quit

It is dumping .trn and .dsn file to /script/waveform/ directory

Basically i like to dump it to the log directory where i am redirecting my log, $LOG_PATH/
$LOG_PATH is a variable i created in the run script where irun is executed. And debug.tcl is a separate file in the same script folder

Can someone help me on the same

This forum is provided by Mentor for general verification methodology help and not intended for tool specific help. You should contact a Cadence specific forum or their support.