FPGA AI Suite: IP Reference Manual

ID 768974
Date 9/06/2024
Public
Document Table of Contents

2.5.2.9. Parameter Group: filter_scratchpad

These parameters define the on-chip cache used for the filter weights, bias values, and scale values (if scale and bias are enabled).

Parameter: filter_scratchpad/filter_depth

This parameter defines the size of the on-chip cache used to store convolution filter weights. Larger values use more FPGA resources, but might increase fps.

Typically, the architecture optimizer is used to set this parameter.

Legal values:
Depends on the setting of enable_parameter_rom:
  • enable_parameter_rom=false

    2 n where n is 9, 10, or 11

  • enable_parameter_rom=true

    2 n where n is 4 or greater.

Parameter: filter_scratchpad/bias_scale_depth

This parameter defines the size of the on-chip cache used to store feature bias and scale weights, if the corresponding support is enabled in the PE Array. Larger values use more FPGA resources, but might increase inference throughput.

Typically this is set equal to the filter_scratchpad/filter_depth parameter.

Legal values:
Depends on the setting of enable_parameter_rom:
  • enable_parameter_rom=false

    2 n where n is 9, 10, or 11

  • enable_parameter_rom=true

    2 n where n is 4 or greater.