I'm trying to debug my RTSC/SYSBIOS config files and need a way to print info to the console to verify correct behavior. In DSP BIOS 5 *.TCF files I can use a "print()" funciton to do this. What is the equivalent for SYS BIOS 6?
Thanks,
Calvin
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I'm trying to debug my RTSC/SYSBIOS config files and need a way to print info to the console to verify correct behavior. In DSP BIOS 5 *.TCF files I can use a "print()" funciton to do this. What is the equivalent for SYS BIOS 6?
Thanks,
Calvin
Hi Calvin,
The short answer is that you can use the same print() function in SYS/BIOS as well.
Now for the long answer - The *.tcf (DSP/BIOS 5) and *.cfg (SYS/BIOS) are essentially javascript files with built-in object definitions. So you can write any valid Javascript code in these files and the javascript interpreter (Rhino) shipped with XDCtools will handle them appropriately. You may want to refer to http://rtsc.eclipse.org/docs-tip/The_XDCscript_Language for some useful information on using javascript in your development.
Regards
Amit