Emit HLS Passes

-emithls-add-io-functions

Add IO functions for top function.

-emithls-fold-expression

Fold expression’s content, such as -a > 2, to a < 2

-emithls-fuse-operator

Fuse operators i.e. +=, -=, and *=.

-emithls-insert-includes

Insert include headers based on the content.

-emithls-loop-fusion

Merge two emithls.for loops if possible and resolve related ops.

-emithls-merge-cast-chain

Merge a chain of pure cast operations into one.

-emithls-pragma-dse

Perform a design space exploration on where to put pragmas.

Options

-available-bram : Total Number of BRAM on the hardware
-available-dsp  : Total Number of DSP on the hardware

-emithls-pragma-insertion

Rewrite emithls operations based on DSE attributes.

-emithls-resolve-helpers

Resolve helper operations into normal emithls operations.