Main Content
Verification
Verification of generated High-Level Synthesis code using test bench
You can generate the test bench files and verify the numeric behavior of the generated High-Level Synthesis code to the MATLAB® code by using the HDL test bench.
Topics
High-Level Synthesis 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 High-Level Synthesis (HLS) code generation. - Verify HLS Code That Has an HDL Test Bench
Simulate the generated High-Level Synthesis (HLS) design under test (DUT) with test vectors from the test bench files. - Floating-Point Tolerance Parameters
Set the floating-point tolerance parameters in the Verification > Verify with HLS Test Bench > Test Bench Options tab of the HDL Workflow Advisor.