Code Replacement Verification using PIL and Test Tools
The Qualcomm® Hexagon® processor test tool provides the ability to customize the testing environment. You can extend test writing through custom constraints and extend test running.
You can use Simulink® Test™ to:
Create test files.
Run tests from the command line.
Set up and standardize your testing environment.
You can use test files to repeat the same test strategy on multiple systems, or perform regression testing.
The examples in this page enable you to perform code verification and validation with processor-in-the-loop (PIL) simulation. Use real-time execution profiling to check whether generated code meets real-time performance requirements.
Functions
configureModelWithHardware | Configure Simulink model for code generation on Qualcomm Hexagon hardware (Since R2024b) |
Classes
crltest.ContainsPattern | Constraint to check if C/C++ file contains a specific pattern (Since R2024b) |
crltest.PerfTestCase | Test case class to validate performance numbers of the generated C/C++ code (Since R2024b) |
logsimulationtime | Log the execution time of simulation (Since R2024b) |
Troubleshooting
Troubleshoot issues in Embedded Coder® Support Package for Qualcomm Hexagon Processors and learn how to fix them.