circt icon indicating copy to clipboard operation
circt copied to clipboard

[ExportSystemC] Support operations from func dialect

Open maerhart opened this issue 3 years ago • 0 comments
trafficstars

Emit functions from the func dialect as regular C functions. This is useful for interop when we, e.g., want to wrap some C++ code in a C function such that a caller which does not support C++ can still call that code.

call_indirect is also especially useful for calling member functions accessed by systemc.cpp.member_access.

maerhart avatar Sep 16 '22 14:09 maerhart