A Simple SCL File

SCL files are simply text files, any text editor can be used to create and edit them.

Here is a simple SCL program that will be used as an example in the following sections. Put this program in a file called mySCL.scl:

testbench for "pic18f4620" is
      process is
            ADRESH <= 16#BB#;
         end process;
   end testbench;

The details of this SCL program, along with the rest of the SCL language, will be described in detail later. For now it is enough to know that this SCL program will set the ADRESH SFR to 0xBB.