Delay size threshold for external memory (bits) - Specify a threshold size in kilobytes to map large integer delays to input and output DUT ports and offload large delays to external memory outside of your FPGA - MATLAB (original) (raw)

Main Content

Specify a threshold size in kilobytes to map large integer delays to input and output DUT ports and offload large delays to external memory outside of your FPGA

Since R2023a

Model Configuration Pane: Optimization / Frame to Sample Conversion

Description

Use this parameter to specify a threshold size in kilobytes to map large integer delays to input and output DUT ports and offload large delays to external memory outside of your FPGA. Offloading delays to external memory is useful when a design requires an input frame be delayed and operated on and the delays do not fit on the chip block RAM. For example, if your design requires a comparison between two different frames, which creates a large delay, set this threshold parameter to save resources on your FPGA that would otherwise be used to store the delay.

Dependencies

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

Settings

10000 (default)

Enter a threshold value N that is greater than or equal to one to map delays greater than or equal to N to external memory by using input and output DUT ports. When you use the default value 10000, HDL Coderâ„¢ maps delays with a register size of 10000 kilobytes or greater to external memory.

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 DelaySizeThreshold to offload the memory required for a 4k frame, 8250 kilobytes of external memory storage, by setting the DelaySizeThreshold value to8250.

You can then use DelaySizeThreshold when you generate HDL code for a DUT subsystem in a model using either of these methods:

No recommendations.

Programmatic Use

Parameter: DelaySizeThreshold
Type: double
Value: double value greater than or equal to 1
Default: 10000

Version History

Introduced in R2023a