This is the main PS application code that controls the kernels and runs data through the design. The various steps this code goes through is described in the following subsections.