Numerical Equivalence Testing
Compare results from model and generated code simulations
测试和数值之间的等价模型generated code by comparing normal mode simulation results against software-in-the-loop (SIL) or processor-in-the-loop (PIL) simulation results. A SIL simulation compiles and runs generated source code on your development computer. A PIL simulation cross-compiles and runs object code on a target processor or instruction set simulator. You can run simulations and compare results interactively or programmatically.
- Software-in-the-Loop Simulation
Test generated code on development computer - Processor-in-the-Loop Simulation
Test generated code on target processor or simulator - Programmatic Code Generation Verification
Test numerical equivalence with code generation verification API - Target Environment Verification
Verify generated code manually
Was this topic helpful?