FPGA AI Suite: Compiler Reference Manual

ID 768972
Date 12/16/2024
Public
Document Table of Contents

3.2. Generating Artifacts for DDR-Free Operation

When a graph is compiled with an architecture file that has the enable_parameter_rom FPGA AI Suite IP block configuration option enabled, the FPGA AI Suite compiler (dla_compiler) produces a set of memory initialization (.mif) files in a directory called parameter_rom under the export directory specified by the --dumpdir compiler command option. These files are required to build the bitstream for DDR-free operation and to run software inference. You do not need to specify any additional compiler options when compiling an architecture with DDR-free operation enabled.

For an architecture with DDR-free operation enabled, the compiler produces the following files:
  • ./ddrfree_filter_hw*.mif

    Contain the graph filters that are used to build the bitstream for DDR-free operation.

  • ./ddrfree_bias_scale_hw*.mif

    Contain the graph biases and scaling factors used to build the bitstream for DDR-free operation

  • ./ddrfree_filter_ref*.mif

    Contain the graph filters in software emulator form.

  • ./ddrfree_bias_scale_ref*.mif

    Contains the graph biases and scaling factors in software emulator format

  • ./ddrfree_config.mif

    Stores the FPGA AI Suite instructions for the compiled graph.

The filter and bias/scale .mif files are postfixed with an integer that represents the PE that the parameters are loaded into.