Main Content

Code Replacement Verification using PIL and Test Tools

Customize testing environment, create and run tests using command-line functions, set test preferences

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

configureModelWithHardwareConfigure Simulink model for code generation on Qualcomm Hexagon hardware (Since R2024b)

Classes

crltest.ContainsPatternConstraint to check if C/C++ file contains a specific pattern (Since R2024b)
crltest.PerfTestCaseTest case class to validate performance numbers of the generated C/C++ code (Since R2024b)
logsimulationtime Log the execution time of simulation (Since R2024b)

Troubleshooting

Resolve Common Issues

Troubleshoot issues in Embedded Coder® Support Package for Qualcomm Hexagon Processors and learn how to fix them.

Featured Examples