Verification of generated SystemC code using test bench
You can generate the test bench files and verify the numeric behavior of the generated SystemC™ code to the MATLAB® code by using the HDL test bench.
SystemC Test Bench
- MATLAB Test Bench Requirements and Best Practices for Code Generation
What is a MATLAB test bench, requirements and best practices for HDL and SystemC code generation.
- Verify SystemC Code That Has an HDL Test Bench
Simulate the generated SystemC design under test (DUT) with test vectors from the test bench files.