HDL Test Bench

Simulate HDL test bench

Examples and How To

Specify Test Bench Clock Enable Toggle Rate

Specify test bench clock enable toggle rate.

Verify Code with HDL Test Bench

Simulate the generated HDL design under test (DUT) with test vectors from the test bench using the specified simulation tool.

Concepts

What Is a MATLAB Test Bench?

MATLAB® test bench definition

Test Bench Generation

HDL Coder™ writes the DUT stimulus and reference data from your MATLAB or Simulink® simulation to data files (.dat).

MATLAB Test Bench Requirements and Best Practices

MATLAB test bench requirements and best practices for HDL code generation

MATLAB to HDL Code and Synthesis

Describes MATLAB to HDL workflow

Was this topic helpful?