Main Content

Input FIFO size

Specify the register size of the generated input FIFOs around the streaming matrix partitions

Since R2022b

Model Configuration Pane: Optimization / Frame to Sample Conversion

Description

Use this parameter to specify the register size of the generated input FIFOs around the streaming matrix partitions. The frame-to-sample conversion generates an input FIFO for every input port in the DUT that has a streaming matrix input signal. The Input FIFO size parameter must be greater than equal to four, the minimum size of the HDL FIFO block.

Dependencies

To enable this parameter, select Enable frame to sample conversion.

Settings

10 (default)

The frame-to-sample conversion generates an input FIFO for every input port in the DUT that has a streaming matrix input signal.

Tips

To set this property, use the functions hdlset_param or makehdl. To view the property value, use the function hdlget_param.

For example, you can use the InputFIFOSize setting when you generate HDL code for a DUT subsystem in a model using either of these methods:

  • Pass the property as an argument to the makehdl function.

    makehdl('<model_name/DUT_name>', ... 
            'InputFIFOSize',20)
  • When you use hdlset_param, set the parameter on the model and then generate HDL code by using the makehdl function.

    hdlset_param('<model_name>','InputFIFOSize',20)
    makehdl('<model_name/DUT_name>')

Recommended Settings

No recommendations.

Programmatic Use

Parameter: InputFIFOSize
Type: integer
Value: integer greater than or equal to 4
Default: 10

Version History

Introduced in R2022b

See Also

|