Call qua sima commands from the SystemVerilog test bench

I want to call sima quest commands, such as add a wave, add a list, write a list from the SystemVerilog test bench

task add_files_to_list(); add wave -position insertpoint sim:/top/clk add list sim:/top/clk write list -window .main_pane.list.interior.cs.body /home/simulation/top/example.lst endtask 

but the above does not work, when I do from the system verilog, I have to do it manually using the tool. is there any way to do this. or I can call tcl script from my Verilog system code.

thanks

+1
source share
1 answer
  mti_fli::mti_Cmd("command") 

See / examples / systemverilog / dpi / cpackages / test.sv

+3
source

All Articles