I'm trying to use tcl mode to program tcl Scripts for vivado. It would be handy to eval tcl code directly usign vivado tcl mode as an inferior process. However if I start vivado with the proper flags it failsif I write
$ vivado -mode tcl
Vivado behaves as a tcl interactive shell. If I modify the tcl process to vivado and the switches to -mode tcl I get the following error:
process inferior-tcl exited abnormally with code 1
ERROR: [Common 17-170] Unknown option '-mode tcl', please type 'vivado -help' for usage info.
I don't know what is happenning, but obviously arguments are formed incorrectly
How I can pass arguments properly?
-------------------------------------------------------------------------------------------------------------------------------------------