CIRCT  20.0.0git
Macros | Typedefs | Enumerations | Functions
Firtool.h File Reference
#include "mlir-c/Pass.h"
#include "mlir-c/Support.h"
Include dependency graph for Firtool.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DEFINE_C_API_STRUCT(name, storage)
 

Typedefs

typedef enum CirctFirtoolPreserveAggregateMode CirctFirtoolPreserveAggregateMode
 
typedef enum CirctFirtoolPreserveValuesMode CirctFirtoolPreserveValuesMode
 
typedef enum CirctFirtoolCompanionMode CirctFirtoolCompanionMode
 
typedef enum CirctFirtoolBuildMode CirctFirtoolBuildMode
 
typedef enum CirctFirtoolRandomKind CirctFirtoolRandomKind
 
typedef enum CirctFirtoolVerificationFlavor CirctFirtoolVerificationFlavor
 

Enumerations

enum  CirctFirtoolPreserveAggregateMode { CIRCT_FIRTOOL_PRESERVE_AGGREGATE_MODE_NONE , CIRCT_FIRTOOL_PRESERVE_AGGREGATE_MODE_ONE_DIM_VEC , CIRCT_FIRTOOL_PRESERVE_AGGREGATE_MODE_VEC , CIRCT_FIRTOOL_PRESERVE_AGGREGATE_MODE_ALL }
 
enum  CirctFirtoolPreserveValuesMode { CIRCT_FIRTOOL_PRESERVE_VALUES_MODE_STRIP , CIRCT_FIRTOOL_PRESERVE_VALUES_MODE_NONE , CIRCT_FIRTOOL_PRESERVE_VALUES_MODE_NAMED , CIRCT_FIRTOOL_PRESERVE_VALUES_MODE_ALL }
 
enum  CirctFirtoolCompanionMode { CIRCT_FIRTOOL_COMPANION_MODE_BIND , CIRCT_FIRTOOL_COMPANION_MODE_INSTANTIATE , CIRCT_FIRTOOL_COMPANION_MODE_DROP }
 
enum  CirctFirtoolBuildMode { CIRCT_FIRTOOL_BUILD_MODE_DEFAULT , CIRCT_FIRTOOL_BUILD_MODE_DEBUG , CIRCT_FIRTOOL_BUILD_MODE_RELEASE }
 
enum  CirctFirtoolRandomKind { CIRCT_FIRTOOL_RANDOM_KIND_NONE , CIRCT_FIRTOOL_RANDOM_KIND_MEM , CIRCT_FIRTOOL_RANDOM_KIND_REG , CIRCT_FIRTOOL_RANDOM_KIND_ALL }
 
enum  CirctFirtoolVerificationFlavor { CIRCT_FIRTOOL_VERIFICATION_FLAVOR_NONE , CIRCT_FIRTOOL_VERIFICATION_FLAVOR_IF_ELSE_FATAL , CIRCT_FIRTOOL_VERIFICATION_FLAVOR_IMMEDIATE , CIRCT_FIRTOOL_VERIFICATION_FLAVOR_SVA }
 

Functions

 DEFINE_C_API_STRUCT (CirctFirtoolFirtoolOptions, void)
 
MLIR_CAPI_EXPORTED CirctFirtoolFirtoolOptions circtFirtoolOptionsCreateDefault (void)
 
MLIR_CAPI_EXPORTED void circtFirtoolOptionsDestroy (CirctFirtoolFirtoolOptions options)
 
MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetOutputFilename (CirctFirtoolFirtoolOptions options, MlirStringRef filename)
 
MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetDisableUnknownAnnotations (CirctFirtoolFirtoolOptions options, bool disable)
 
MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetDisableAnnotationsClassless (CirctFirtoolFirtoolOptions options, bool value)
 
MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetLowerAnnotationsNoRefTypePorts (CirctFirtoolFirtoolOptions options, bool value)
 
MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetAllowAddingPortsOnPublic (CirctFirtoolFirtoolOptions options, bool value)
 
MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetPreserveAggregate (CirctFirtoolFirtoolOptions options, CirctFirtoolPreserveAggregateMode value)
 
MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetPreserveValues (CirctFirtoolFirtoolOptions options, CirctFirtoolPreserveValuesMode value)
 
MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetEnableDebugInfo (CirctFirtoolFirtoolOptions options, bool value)
 
MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetBuildMode (CirctFirtoolFirtoolOptions options, CirctFirtoolBuildMode value)
 
MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetDisableLayerSink (CirctFirtoolFirtoolOptions options, bool value)
 
MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetDisableOptimization (CirctFirtoolFirtoolOptions options, bool value)
 
MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetExportChiselInterface (CirctFirtoolFirtoolOptions options, bool value)
 
MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetChiselInterfaceOutDirectory (CirctFirtoolFirtoolOptions options, MlirStringRef value)
 
MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetVbToBv (CirctFirtoolFirtoolOptions options, bool value)
 
MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetNoDedup (CirctFirtoolFirtoolOptions options, bool value)
 
MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetCompanionMode (CirctFirtoolFirtoolOptions options, CirctFirtoolCompanionMode value)
 
MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetDisableAggressiveMergeConnections (CirctFirtoolFirtoolOptions options, bool value)
 
MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetLowerMemories (CirctFirtoolFirtoolOptions options, bool value)
 
MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetBlackBoxRootPath (CirctFirtoolFirtoolOptions options, MlirStringRef value)
 
MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetReplSeqMem (CirctFirtoolFirtoolOptions options, bool value)
 
MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetReplSeqMemFile (CirctFirtoolFirtoolOptions options, MlirStringRef value)
 
MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetExtractTestCode (CirctFirtoolFirtoolOptions options, bool value)
 
MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetIgnoreReadEnableMem (CirctFirtoolFirtoolOptions options, bool value)
 
MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetDisableRandom (CirctFirtoolFirtoolOptions options, CirctFirtoolRandomKind value)
 
MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetOutputAnnotationFilename (CirctFirtoolFirtoolOptions options, MlirStringRef value)
 
MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetEnableAnnotationWarning (CirctFirtoolFirtoolOptions options, bool value)
 
MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetAddMuxPragmas (CirctFirtoolFirtoolOptions options, bool value)
 
MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetVerificationFlavor (CirctFirtoolFirtoolOptions options, CirctFirtoolVerificationFlavor value)
 
MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetEmitSeparateAlwaysBlocks (CirctFirtoolFirtoolOptions options, bool value)
 
MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetEtcDisableInstanceExtraction (CirctFirtoolFirtoolOptions options, bool value)
 
MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetEtcDisableRegisterExtraction (CirctFirtoolFirtoolOptions options, bool value)
 
MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetEtcDisableModuleInlining (CirctFirtoolFirtoolOptions options, bool value)
 
MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetAddVivadoRAMAddressConflictSynthesisBugWorkaround (CirctFirtoolFirtoolOptions options, bool value)
 
MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetCkgModuleName (CirctFirtoolFirtoolOptions options, MlirStringRef value)
 
MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetCkgInputName (CirctFirtoolFirtoolOptions options, MlirStringRef value)
 
MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetCkgOutputName (CirctFirtoolFirtoolOptions options, MlirStringRef value)
 
MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetCkgEnableName (CirctFirtoolFirtoolOptions options, MlirStringRef value)
 
MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetCkgTestEnableName (CirctFirtoolFirtoolOptions options, MlirStringRef value)
 
MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetExportModuleHierarchy (CirctFirtoolFirtoolOptions options, bool value)
 
MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetStripFirDebugInfo (CirctFirtoolFirtoolOptions options, bool value)
 
MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetStripDebugInfo (CirctFirtoolFirtoolOptions options, bool value)
 
MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetDisableCSEinClasses (CirctFirtoolFirtoolOptions options, bool value)
 
MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetSelectDefaultInstanceChoice (CirctFirtoolFirtoolOptions options, bool value)
 
MLIR_CAPI_EXPORTED MlirLogicalResult circtFirtoolPopulatePreprocessTransforms (MlirPassManager pm, CirctFirtoolFirtoolOptions options)
 
MLIR_CAPI_EXPORTED MlirLogicalResult circtFirtoolPopulateCHIRRTLToLowFIRRTL (MlirPassManager pm, CirctFirtoolFirtoolOptions options, MlirStringRef inputFilename)
 
MLIR_CAPI_EXPORTED MlirLogicalResult circtFirtoolPopulateLowFIRRTLToHW (MlirPassManager pm, CirctFirtoolFirtoolOptions options)
 
MLIR_CAPI_EXPORTED MlirLogicalResult circtFirtoolPopulateHWToSV (MlirPassManager pm, CirctFirtoolFirtoolOptions options)
 
MLIR_CAPI_EXPORTED MlirLogicalResult circtFirtoolPopulateExportVerilog (MlirPassManager pm, CirctFirtoolFirtoolOptions options, MlirStringCallback callback, void *userData)
 
MLIR_CAPI_EXPORTED MlirLogicalResult circtFirtoolPopulateExportSplitVerilog (MlirPassManager pm, CirctFirtoolFirtoolOptions options, MlirStringRef directory)
 
MLIR_CAPI_EXPORTED MlirLogicalResult circtFirtoolPopulateFinalizeIR (MlirPassManager pm, CirctFirtoolFirtoolOptions options)
 

Macro Definition Documentation

◆ DEFINE_C_API_STRUCT

#define DEFINE_C_API_STRUCT (   name,
  storage 
)
Value:
struct name { \
storage *ptr; \
}; \
typedef struct name name

Definition at line 15 of file Firtool.h.

Typedef Documentation

◆ CirctFirtoolBuildMode

◆ CirctFirtoolCompanionMode

◆ CirctFirtoolPreserveAggregateMode

◆ CirctFirtoolPreserveValuesMode

◆ CirctFirtoolRandomKind

◆ CirctFirtoolVerificationFlavor

Enumeration Type Documentation

◆ CirctFirtoolBuildMode

Enumerator
CIRCT_FIRTOOL_BUILD_MODE_DEFAULT 
CIRCT_FIRTOOL_BUILD_MODE_DEBUG 
CIRCT_FIRTOOL_BUILD_MODE_RELEASE 

Definition at line 49 of file Firtool.h.

◆ CirctFirtoolCompanionMode

Enumerator
CIRCT_FIRTOOL_COMPANION_MODE_BIND 
CIRCT_FIRTOOL_COMPANION_MODE_INSTANTIATE 
CIRCT_FIRTOOL_COMPANION_MODE_DROP 

Definition at line 42 of file Firtool.h.

◆ CirctFirtoolPreserveAggregateMode

Enumerator
CIRCT_FIRTOOL_PRESERVE_AGGREGATE_MODE_NONE 
CIRCT_FIRTOOL_PRESERVE_AGGREGATE_MODE_ONE_DIM_VEC 
CIRCT_FIRTOOL_PRESERVE_AGGREGATE_MODE_VEC 
CIRCT_FIRTOOL_PRESERVE_AGGREGATE_MODE_ALL 

Definition at line 26 of file Firtool.h.

◆ CirctFirtoolPreserveValuesMode

Enumerator
CIRCT_FIRTOOL_PRESERVE_VALUES_MODE_STRIP 
CIRCT_FIRTOOL_PRESERVE_VALUES_MODE_NONE 
CIRCT_FIRTOOL_PRESERVE_VALUES_MODE_NAMED 
CIRCT_FIRTOOL_PRESERVE_VALUES_MODE_ALL 

Definition at line 34 of file Firtool.h.

◆ CirctFirtoolRandomKind

Enumerator
CIRCT_FIRTOOL_RANDOM_KIND_NONE 
CIRCT_FIRTOOL_RANDOM_KIND_MEM 
CIRCT_FIRTOOL_RANDOM_KIND_REG 
CIRCT_FIRTOOL_RANDOM_KIND_ALL 

Definition at line 56 of file Firtool.h.

◆ CirctFirtoolVerificationFlavor

Enumerator
CIRCT_FIRTOOL_VERIFICATION_FLAVOR_NONE 
CIRCT_FIRTOOL_VERIFICATION_FLAVOR_IF_ELSE_FATAL 
CIRCT_FIRTOOL_VERIFICATION_FLAVOR_IMMEDIATE 
CIRCT_FIRTOOL_VERIFICATION_FLAVOR_SVA 

Definition at line 64 of file Firtool.h.

Function Documentation

◆ circtFirtoolOptionsCreateDefault()

MLIR_CAPI_EXPORTED CirctFirtoolFirtoolOptions circtFirtoolOptionsCreateDefault ( void  )

◆ circtFirtoolOptionsDestroy()

MLIR_CAPI_EXPORTED void circtFirtoolOptionsDestroy ( CirctFirtoolFirtoolOptions  options)

Definition at line 30 of file Firtool.cpp.

References unwrap().

◆ circtFirtoolOptionsSetAddMuxPragmas()

MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetAddMuxPragmas ( CirctFirtoolFirtoolOptions  options,
bool  value 
)

Definition at line 244 of file Firtool.cpp.

References unwrap().

◆ circtFirtoolOptionsSetAddVivadoRAMAddressConflictSynthesisBugWorkaround()

MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetAddVivadoRAMAddressConflictSynthesisBugWorkaround ( CirctFirtoolFirtoolOptions  options,
bool  value 
)

Definition at line 274 of file Firtool.cpp.

References unwrap().

◆ circtFirtoolOptionsSetAllowAddingPortsOnPublic()

MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetAllowAddingPortsOnPublic ( CirctFirtoolFirtoolOptions  options,
bool  value 
)

Definition at line 54 of file Firtool.cpp.

References unwrap().

◆ circtFirtoolOptionsSetBlackBoxRootPath()

MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetBlackBoxRootPath ( CirctFirtoolFirtoolOptions  options,
MlirStringRef  value 
)

Definition at line 187 of file Firtool.cpp.

References unwrap().

◆ circtFirtoolOptionsSetBuildMode()

MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetBuildMode ( CirctFirtoolFirtoolOptions  options,
CirctFirtoolBuildMode  value 
)

◆ circtFirtoolOptionsSetChiselInterfaceOutDirectory()

MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetChiselInterfaceOutDirectory ( CirctFirtoolFirtoolOptions  options,
MlirStringRef  value 
)

Definition at line 143 of file Firtool.cpp.

References unwrap().

◆ circtFirtoolOptionsSetCkgEnableName()

MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetCkgEnableName ( CirctFirtoolFirtoolOptions  options,
MlirStringRef  value 
)

Definition at line 294 of file Firtool.cpp.

References unwrap().

◆ circtFirtoolOptionsSetCkgInputName()

MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetCkgInputName ( CirctFirtoolFirtoolOptions  options,
MlirStringRef  value 
)

Definition at line 284 of file Firtool.cpp.

References unwrap().

◆ circtFirtoolOptionsSetCkgModuleName()

MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetCkgModuleName ( CirctFirtoolFirtoolOptions  options,
MlirStringRef  value 
)

Definition at line 279 of file Firtool.cpp.

References unwrap().

◆ circtFirtoolOptionsSetCkgOutputName()

MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetCkgOutputName ( CirctFirtoolFirtoolOptions  options,
MlirStringRef  value 
)

Definition at line 289 of file Firtool.cpp.

References unwrap().

◆ circtFirtoolOptionsSetCkgTestEnableName()

MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetCkgTestEnableName ( CirctFirtoolFirtoolOptions  options,
MlirStringRef  value 
)

Definition at line 299 of file Firtool.cpp.

References unwrap().

◆ circtFirtoolOptionsSetCompanionMode()

MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetCompanionMode ( CirctFirtoolFirtoolOptions  options,
CirctFirtoolCompanionMode  value 
)

◆ circtFirtoolOptionsSetDisableAggressiveMergeConnections()

MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetDisableAggressiveMergeConnections ( CirctFirtoolFirtoolOptions  options,
bool  value 
)

Definition at line 177 of file Firtool.cpp.

References unwrap().

◆ circtFirtoolOptionsSetDisableAnnotationsClassless()

MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetDisableAnnotationsClassless ( CirctFirtoolFirtoolOptions  options,
bool  value 
)

Definition at line 44 of file Firtool.cpp.

References unwrap().

◆ circtFirtoolOptionsSetDisableCSEinClasses()

MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetDisableCSEinClasses ( CirctFirtoolFirtoolOptions  options,
bool  value 
)

Definition at line 319 of file Firtool.cpp.

References unwrap().

◆ circtFirtoolOptionsSetDisableLayerSink()

MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetDisableLayerSink ( CirctFirtoolFirtoolOptions  options,
bool  value 
)

Definition at line 128 of file Firtool.cpp.

References unwrap().

◆ circtFirtoolOptionsSetDisableOptimization()

MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetDisableOptimization ( CirctFirtoolFirtoolOptions  options,
bool  value 
)

Definition at line 133 of file Firtool.cpp.

References unwrap().

◆ circtFirtoolOptionsSetDisableRandom()

MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetDisableRandom ( CirctFirtoolFirtoolOptions  options,
CirctFirtoolRandomKind  value 
)

◆ circtFirtoolOptionsSetDisableUnknownAnnotations()

MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetDisableUnknownAnnotations ( CirctFirtoolFirtoolOptions  options,
bool  disable 
)

Definition at line 39 of file Firtool.cpp.

References unwrap().

◆ circtFirtoolOptionsSetEmitSeparateAlwaysBlocks()

MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetEmitSeparateAlwaysBlocks ( CirctFirtoolFirtoolOptions  options,
bool  value 
)

Definition at line 254 of file Firtool.cpp.

References unwrap().

◆ circtFirtoolOptionsSetEnableAnnotationWarning()

MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetEnableAnnotationWarning ( CirctFirtoolFirtoolOptions  options,
bool  value 
)

Definition at line 239 of file Firtool.cpp.

References unwrap().

◆ circtFirtoolOptionsSetEnableDebugInfo()

MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetEnableDebugInfo ( CirctFirtoolFirtoolOptions  options,
bool  value 
)

Definition at line 104 of file Firtool.cpp.

References unwrap().

◆ circtFirtoolOptionsSetEtcDisableInstanceExtraction()

MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetEtcDisableInstanceExtraction ( CirctFirtoolFirtoolOptions  options,
bool  value 
)

Definition at line 259 of file Firtool.cpp.

References unwrap().

◆ circtFirtoolOptionsSetEtcDisableModuleInlining()

MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetEtcDisableModuleInlining ( CirctFirtoolFirtoolOptions  options,
bool  value 
)

Definition at line 269 of file Firtool.cpp.

References unwrap().

◆ circtFirtoolOptionsSetEtcDisableRegisterExtraction()

MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetEtcDisableRegisterExtraction ( CirctFirtoolFirtoolOptions  options,
bool  value 
)

Definition at line 264 of file Firtool.cpp.

References unwrap().

◆ circtFirtoolOptionsSetExportChiselInterface()

MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetExportChiselInterface ( CirctFirtoolFirtoolOptions  options,
bool  value 
)

Definition at line 138 of file Firtool.cpp.

References unwrap().

◆ circtFirtoolOptionsSetExportModuleHierarchy()

MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetExportModuleHierarchy ( CirctFirtoolFirtoolOptions  options,
bool  value 
)

Definition at line 304 of file Firtool.cpp.

References unwrap().

◆ circtFirtoolOptionsSetExtractTestCode()

MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetExtractTestCode ( CirctFirtoolFirtoolOptions  options,
bool  value 
)

Definition at line 202 of file Firtool.cpp.

References unwrap().

◆ circtFirtoolOptionsSetIgnoreReadEnableMem()

MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetIgnoreReadEnableMem ( CirctFirtoolFirtoolOptions  options,
bool  value 
)

Definition at line 207 of file Firtool.cpp.

References unwrap().

◆ circtFirtoolOptionsSetLowerAnnotationsNoRefTypePorts()

MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetLowerAnnotationsNoRefTypePorts ( CirctFirtoolFirtoolOptions  options,
bool  value 
)

Definition at line 49 of file Firtool.cpp.

References unwrap().

◆ circtFirtoolOptionsSetLowerMemories()

MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetLowerMemories ( CirctFirtoolFirtoolOptions  options,
bool  value 
)

Definition at line 182 of file Firtool.cpp.

References unwrap().

◆ circtFirtoolOptionsSetNoDedup()

MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetNoDedup ( CirctFirtoolFirtoolOptions  options,
bool  value 
)

Definition at line 153 of file Firtool.cpp.

References unwrap().

◆ circtFirtoolOptionsSetOutputAnnotationFilename()

MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetOutputAnnotationFilename ( CirctFirtoolFirtoolOptions  options,
MlirStringRef  value 
)

Definition at line 234 of file Firtool.cpp.

References unwrap().

◆ circtFirtoolOptionsSetOutputFilename()

MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetOutputFilename ( CirctFirtoolFirtoolOptions  options,
MlirStringRef  filename 
)

Definition at line 34 of file Firtool.cpp.

References unwrap().

◆ circtFirtoolOptionsSetPreserveAggregate()

MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetPreserveAggregate ( CirctFirtoolFirtoolOptions  options,
CirctFirtoolPreserveAggregateMode  value 
)

◆ circtFirtoolOptionsSetPreserveValues()

MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetPreserveValues ( CirctFirtoolFirtoolOptions  options,
CirctFirtoolPreserveValuesMode  value 
)

◆ circtFirtoolOptionsSetReplSeqMem()

MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetReplSeqMem ( CirctFirtoolFirtoolOptions  options,
bool  value 
)

Definition at line 192 of file Firtool.cpp.

References unwrap().

◆ circtFirtoolOptionsSetReplSeqMemFile()

MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetReplSeqMemFile ( CirctFirtoolFirtoolOptions  options,
MlirStringRef  value 
)

Definition at line 197 of file Firtool.cpp.

References unwrap().

◆ circtFirtoolOptionsSetSelectDefaultInstanceChoice()

MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetSelectDefaultInstanceChoice ( CirctFirtoolFirtoolOptions  options,
bool  value 
)

Definition at line 325 of file Firtool.cpp.

References unwrap().

◆ circtFirtoolOptionsSetStripDebugInfo()

MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetStripDebugInfo ( CirctFirtoolFirtoolOptions  options,
bool  value 
)

Definition at line 314 of file Firtool.cpp.

References unwrap().

◆ circtFirtoolOptionsSetStripFirDebugInfo()

MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetStripFirDebugInfo ( CirctFirtoolFirtoolOptions  options,
bool  value 
)

Definition at line 309 of file Firtool.cpp.

References unwrap().

◆ circtFirtoolOptionsSetVbToBv()

MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetVbToBv ( CirctFirtoolFirtoolOptions  options,
bool  value 
)

Definition at line 148 of file Firtool.cpp.

References unwrap().

◆ circtFirtoolOptionsSetVerificationFlavor()

MLIR_CAPI_EXPORTED void circtFirtoolOptionsSetVerificationFlavor ( CirctFirtoolFirtoolOptions  options,
CirctFirtoolVerificationFlavor  value 
)

◆ circtFirtoolPopulateCHIRRTLToLowFIRRTL()

MLIR_CAPI_EXPORTED MlirLogicalResult circtFirtoolPopulateCHIRRTLToLowFIRRTL ( MlirPassManager  pm,
CirctFirtoolFirtoolOptions  options,
MlirStringRef  inputFilename 
)

Definition at line 342 of file Firtool.cpp.

References circt::firtool::populateCHIRRTLToLowFIRRTL(), unwrap(), and wrap().

◆ circtFirtoolPopulateExportSplitVerilog()

MLIR_CAPI_EXPORTED MlirLogicalResult circtFirtoolPopulateExportSplitVerilog ( MlirPassManager  pm,
CirctFirtoolFirtoolOptions  options,
MlirStringRef  directory 
)

Definition at line 372 of file Firtool.cpp.

References circt::firtool::populateExportSplitVerilog(), unwrap(), and wrap().

◆ circtFirtoolPopulateExportVerilog()

MLIR_CAPI_EXPORTED MlirLogicalResult circtFirtoolPopulateExportVerilog ( MlirPassManager  pm,
CirctFirtoolFirtoolOptions  options,
MlirStringCallback  callback,
void *  userData 
)

Definition at line 362 of file Firtool.cpp.

References circt::firtool::populateExportVerilog(), unwrap(), and wrap().

◆ circtFirtoolPopulateFinalizeIR()

MLIR_CAPI_EXPORTED MlirLogicalResult circtFirtoolPopulateFinalizeIR ( MlirPassManager  pm,
CirctFirtoolFirtoolOptions  options 
)

Definition at line 380 of file Firtool.cpp.

References circt::firtool::populateFinalizeIR(), unwrap(), and wrap().

◆ circtFirtoolPopulateHWToSV()

MLIR_CAPI_EXPORTED MlirLogicalResult circtFirtoolPopulateHWToSV ( MlirPassManager  pm,
CirctFirtoolFirtoolOptions  options 
)

Definition at line 356 of file Firtool.cpp.

References circt::firtool::populateHWToSV(), unwrap(), and wrap().

◆ circtFirtoolPopulateLowFIRRTLToHW()

MLIR_CAPI_EXPORTED MlirLogicalResult circtFirtoolPopulateLowFIRRTLToHW ( MlirPassManager  pm,
CirctFirtoolFirtoolOptions  options 
)

Definition at line 350 of file Firtool.cpp.

References circt::firtool::populateLowFIRRTLToHW(), unwrap(), and wrap().

◆ circtFirtoolPopulatePreprocessTransforms()

MLIR_CAPI_EXPORTED MlirLogicalResult circtFirtoolPopulatePreprocessTransforms ( MlirPassManager  pm,
CirctFirtoolFirtoolOptions  options 
)

Definition at line 335 of file Firtool.cpp.

References circt::firtool::populatePreprocessTransforms(), unwrap(), and wrap().

◆ DEFINE_C_API_STRUCT()

DEFINE_C_API_STRUCT ( CirctFirtoolFirtoolOptions  ,
void   
)