Ignore output data checking (number of samples) - Specify number of samples during which output data checking is suppressed - MATLAB (original) (raw)

Main Content

Specify number of samples during which output data checking is suppressed

Model Configuration Pane: Test Bench

Description

Specify number of samples during which output data checking is suppressed.

Dependencies

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

Settings

0 (default)

The value must be a nonnegative integer.

When the value of Ignore output data checking (number of samples), N, is greater than zero, the test bench suppresses output data checking for the first N output samples after the clock enable output (ce_out) is asserted.

When using pipelined block implementations, output data may be in an invalid state for some number of samples. To avoid spurious test bench errors, determine this number and set Ignore output data checking (number of samples) accordingly.

Be careful to specify N as a number of samples, not as a number of clock cycles. For a single-rate model, these are equivalent, but they are not equivalent for a multirate model.

You should use Ignore output data checking (number of samples) in cases where there is a state (register) initial condition in the HDL code that does not match the Simulink® state, including the following specific cases:

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: IgnoreDataChecking
Type: integer
Default: 0

Version History

Introduced in R2012a