Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

[Help] excel macro to execuatble TCL error sourcing

Status
Not open for further replies.

japondude

Programmer
Mar 11, 2013
1
US
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")
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top