3.5.1.17.4 Default Struct Modes

The default struct mode in SmartHLS is applied when no pragma is specified for the argument / variable. The default mode differs between interfaces and local memories:

  • For interfaces (top-level argument / global variable interface), bit-packing is the default.For local memories, automatic partitioning is applied to optimize the design. If partitioning is not possible, bit-packing is applied.