Function mlir::emithls::translateEmitHLSToLaksaApp
Defined in File LaksaAppEmitter.h
Function Documentation
-
LogicalResult mlir::emithls::translateEmitHLSToLaksaApp(ModuleOp op, raw_ostream &os)
Translates a program in EmitHLS IR to a C application that runs the design on a Kria board through the
laksa-hls-kria-driver’s/dev/laksa.The application allocates one DMA buffer per top-level
m_axiargument, fills every argument the kernel reads frominput<n>.bin, launches the kernel, and dumps every argument the kernel writes tooutput<n>.bin.Buffer sizes and register offsets are not emitted here; the application takes them from the header produced by the EmitHLSToLaksaHeader translation, which has to be generated from the same input.