Use file I/O to read/write test bench data - Create and use data files for reading and writing test bench input and output data - MATLAB (original) (raw)

Main Content

Create and use data files for reading and writing test bench input and output data

Model Configuration Pane: Test Bench

Description

Create and use data files for reading and writing test bench input and output data.

Dependencies

This option is disabled if you select the entire model. Select the DUT instead for Generate HDL for setting.

Settings

On (default) | Off

On

Create and use data files for reading and writing test bench input and output data.

Off

Use constants in the test bench for DUT stimulus and reference data.

Tips

To set this property, use hdlset_param or makehdltb. To view the property value, use hdlget_param.

For example, you can specify this parameter for the symmetric_fir subsystem inside the sfir_fixed model using either of these methods.

No recommendations.

Programmatic Use

Parameter: UseFileIOInTestBench
Type: character vector
Value: 'on' | 'off'
Default: 'on'

Version History

Introduced in R2013a