This NB3000-based example design demonstrates some basic features of C Code Symbols. Examples of C Code Symbols with "Wishbone Single Bus Cycle" and "Wishbone Multiple Bus Cycles" interfaces are included. Access to C Code Symbols are demonstrated via memory (pointer) dereference, function calls, and reading/writing the memory-mapped static stack. There is also an example of a C Code Symbol that controls three other C Code Symbols in a "pipeline".
Open the debugger to control the execution of the embedded project and to check the inputs and and outputs of the C Code Symbols that are attached to the processor.
The design includes a TSK3000, as well as C Code Symbols and a Configurable FIFO component.
The associated embedded project demonstrates the use of the Custom Device and Serial Device I/O Context for serial output via the Terminal instrument.
Altium Designer projects included in this download:
- NB3000_CodeSymbols_Explained.PrjFpg
- NB3000_CodeSymbols_Explained.PrjEmb