In this video we discuss about how to use Processor-in-the-Loop (PIL) approach to generate the C-code and to validate the algorithm on the real hardware.
PIL simulation main goals are: - to generate and execute the C-code on the real target/microprocessor; - to help with specific algorithm and control designs by offering the means to optimize your software; - to establish a testing framework for the production code;
PIL simulation can also use some of peripherals from the real target for inputs or outputs, making the simulation environment more realistic and closed to the final SW design specifications.
We discuss about:
- What is PIL, When to use it and What is recommended for;
- How to convert any Simulink generic algorithm to run with PIL support using the Model Based Design Toolbox;
- PIL Reference models;
NOTE: Chinese viewers can watch the video on YOUKU using this link