SCL Reference: testbench

EverySCL program must contain one and only onetestbench. Testbenches contain processes, variables, constants etc. It can also be empty, though there is little reason to do so.

Here is an empty testbench to show the basic syntax:

testbench for PIC32MX360F512L is   // processes, variables, etc. go hereend testbench;

In earlier versions of MPLAB IDE the device name had to match the device of the project the SCL code was ran against. But in MPLAB X the device name is ignored and is decorative only.