Function mlir::emithls::findLaksaTopFunc

Function Documentation

FailureOr<FuncOp> mlir::emithls::findLaksaTopFunc(ModuleOp moduleOp)

Finds the function marked as the design’s top function, i.e.

the one whose body contains a PragmaTopInterfaceOp. Its symbol name doubles as the design’s name in the generated artifacts.