Main Content

Test bench data file name postfix

Specify suffix added to test bench data file name when generating multi-file test bench

Model Configuration Pane: Test Bench

Description

Specify suffix added to test bench data file name when generating multi-file test bench.

Dependencies

This parameter is enabled by Multi-file test bench.

Settings

_data (default)

HDL Coder™ applies the Test bench data file name postfix character vector only when generating a multi-file test bench (i.e., when Multi-file test bench is selected).

For example, if the name of your DUT is my_test, and Test bench name postfix has the default value _tb, the coder adds the postfix _data to form the test bench data file name my_test_tb_data.

Tips

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

Recommended Settings

No recommendations.

Programmatic Use

Parameter: TestBenchDataPostFix
Type: character vector
Default: '_data'

Version History

Introduced in R2012a