Support for user defined procedures and functions is incomplete at this time. However, SCL does have a number of useful built in procedures and functions available.
accessin | Reads and datafrom a specified file and injects it to a specified location. |
endfile | Detects end of file. |
file_close | Closes a file. |
file_open | Open a file. |
match | Determine if a substring occurs within a string. |
now | Current simulation time (instruction cycles). |
packetin | Highly specialized string parser used with UART injection. |
random_time | Returns a random time value. |
read | Parse a value from a string. |
readline | Closes a line of text from a file. |
report | Debugging routine, outputs a line of text to the Simulator console in MPLAB. |