Hello,
I am trying to use excel macro to run a Tcl program. the Tcl program will edit the Testinput.scv and save into Systemverilog file
first I used the 2nd method on to wrap the "test.TCL" into a executable program, "test.EXE", when I double click the test.exe, it is able to work perfectly.(run Test.tcl, source Testinput.scv and then out a SystemVerilog file)
However, when I open test.exe from the excel macro, it does not work anymore, it says "Error sourcing C:/../Test.tcl: couldn't open "TestInput.csv": no such file or directory () 1 %"
I am able to run other exe file on macro, ex. notepad, pdf, modelsim, but it does not work for Test.exe , i don't know it is a excel problem or a tcl problem. somehow they work independently but now together. Can anyone help me why is that and how could I possibly fix it. Thank you so much and your help is very much appreciated.
my macro is just simply, Shell("C:\....\Test.exe")
I am trying to use excel macro to run a Tcl program. the Tcl program will edit the Testinput.scv and save into Systemverilog file
first I used the 2nd method on to wrap the "test.TCL" into a executable program, "test.EXE", when I double click the test.exe, it is able to work perfectly.(run Test.tcl, source Testinput.scv and then out a SystemVerilog file)
However, when I open test.exe from the excel macro, it does not work anymore, it says "Error sourcing C:/../Test.tcl: couldn't open "TestInput.csv": no such file or directory () 1 %"
I am able to run other exe file on macro, ex. notepad, pdf, modelsim, but it does not work for Test.exe , i don't know it is a excel problem or a tcl problem. somehow they work independently but now together. Can anyone help me why is that and how could I possibly fix it. Thank you so much and your help is very much appreciated.
my macro is just simply, Shell("C:\....\Test.exe")