Altera_Forum
Honored Contributor
14 years agoSystemConsole and Tcl GPIB extension
Hi,
Anyone tried to add Tcl extensions to SystemConsole? Is it possible? I'm controlling a Stratix IV GX Development kit using SystemConsole and also need to control a synthesizer via GPIB. I'm controlling the kit using SystemConsole, since the JTAG-to-Avalon-MM API is not available under quartus_stp. I can get the GPIB Tcl extension working under quartus_stp by installing the library into Quartus's Tcl library folder. Since SystemConsole does not see the library that quartus_stp sees, it looks like it must have its own different set of paths to determine what constitutes its Tcl interface. I've found several other short-comings with SystemConsole's support for Tcl, eg., fileevent does not work, so you cannot write a proper server application, TCLLIBPATH is ignored, so 'package require myPackage' does not work (this works fine under quartus_stp, the Quartus Tcl console, Modelsim, etc). I have written Tcl scripts that get the JTAG-to-Avalon-MM bridge interface working under regular quartus_stp, so I think I'll just migrate away from SystemConsole. But, I figured I'd at least see if anyone else has had any luck (or would like to complain in general about SystemConsole). Cheers, Dave