CIRCT  20.0.0git
Public Types | Public Member Functions | Private Attributes | List of all members
circt::firtool::FirtoolOptions Class Reference

Set of options used to control the behavior of the firtool pipeline. More...

#include <Firtool.h>

Collaboration diagram for circt::firtool::FirtoolOptions:
Collaboration graph
[legend]

Public Types

enum  BuildMode { BuildModeDefault , BuildModeDebug , BuildModeRelease }
 
enum class  RandomKind { None , Mem , Reg , All }
 

Public Member Functions

 FirtoolOptions ()
 
bool isRandomEnabled (RandomKind kind) const
 
firrtl::PreserveValues::PreserveMode getPreserveMode () const
 
StringRef getOutputFilename () const
 
StringRef getBlackBoxRootPath () const
 
StringRef getChiselInterfaceOutputDirectory () const
 
StringRef getReplaceSequentialMemoriesFile () const
 
StringRef getOutputAnnotationFilename () const
 
firrtl::PreserveAggregate::PreserveMode getPreserveAggregate () const
 
firrtl::CompanionMode getCompanionMode () const
 
seq::ExternalizeClockGateOptions getClockGateOptions () const
 
FirtoolOptionssetClockGateOptions (seq::ExternalizeClockGateOptions &opts)
 
bool isDefaultOutputFilename () const
 
bool shouldDisableUnknownAnnotations () const
 
bool shouldDisableClasslessAnnotations () const
 
bool shouldLowerNoRefTypePortAnnotations () const
 
bool shouldAllowAddingPortsOnPublic () const
 
bool shouldConvertProbesToSignals () const
 
bool shouldReplaceSequentialMemories () const
 
bool shouldDisableLayerSink () const
 
bool shouldDisableOptimization () const
 
bool shouldAdvancedLayerSink () const
 
bool shouldLowerMemories () const
 
bool shouldDedup () const
 
bool shouldEnableDebugInfo () const
 
bool shouldIgnoreReadEnableMemories () const
 
bool shouldExportChiselInterface () const
 
bool shouldConvertVecOfBundle () const
 
bool shouldEtcDisableInstanceExtraction () const
 
bool shouldEtcDisableRegisterExtraction () const
 
bool shouldEtcDisableModuleInlining () const
 
bool shouldStripDebugInfo () const
 
bool shouldStripFirDebugInfo () const
 
bool shouldExportModuleHierarchy () const
 
bool shouldDisableAggressiveMergeConnections () const
 
bool shouldEnableAnnotationWarning () const
 
auto getVerificationFlavor () const
 
bool shouldEmitSeparateAlwaysBlocks () const
 
bool shouldAddMuxPragmas () const
 
bool shouldAddVivadoRAMAddressConflictSynthesisBugWorkaround () const
 
bool shouldExtractTestCode () const
 
bool shouldFixupEICGWrapper () const
 
bool shouldAddCompanionAssume () const
 
bool shouldDisableCSEinClasses () const
 
bool shouldSelectDefaultInstanceChoice () const
 
FirtoolOptionssetOutputFilename (StringRef name)
 
FirtoolOptionssetDisableUnknownAnnotations (bool disable)
 
FirtoolOptionssetDisableAnnotationsClassless (bool value)
 
FirtoolOptionssetLowerAnnotationsNoRefTypePorts (bool value)
 
FirtoolOptionssetAllowAddingPortsOnPublic (bool value)
 
FirtoolOptionssetConvertProbesToSignals (bool value)
 
FirtoolOptionssetPreserveAggregate (firrtl::PreserveAggregate::PreserveMode value)
 
FirtoolOptionssetPreserveValues (firrtl::PreserveValues::PreserveMode value)
 
FirtoolOptionssetEnableDebugInfo (bool value)
 
FirtoolOptionssetBuildMode (BuildMode value)
 
FirtoolOptionssetDisableLayerSink (bool value)
 
FirtoolOptionssetDisableOptimization (bool value)
 
FirtoolOptionssetExportChiselInterface (bool value)
 
FirtoolOptionssetChiselInterfaceOutDirectory (StringRef value)
 
FirtoolOptionssetVbToBV (bool value)
 
FirtoolOptionssetNoDedup (bool value)
 
FirtoolOptionssetCompanionMode (firrtl::CompanionMode value)
 
FirtoolOptionssetDisableAggressiveMergeConnections (bool value)
 
FirtoolOptionssetAdvancedLayerSink (bool value)
 
FirtoolOptionssetLowerMemories (bool value)
 
FirtoolOptionssetBlackBoxRootPath (StringRef value)
 
FirtoolOptionssetReplSeqMem (bool value)
 
FirtoolOptionssetReplSeqMemFile (StringRef value)
 
FirtoolOptionssetExtractTestCode (bool value)
 
FirtoolOptionssetIgnoreReadEnableMem (bool value)
 
FirtoolOptionssetDisableRandom (RandomKind value)
 
FirtoolOptionssetOutputAnnotationFilename (StringRef value)
 
FirtoolOptionssetEnableAnnotationWarning (bool value)
 
FirtoolOptionssetAddMuxPragmas (bool value)
 
FirtoolOptionssetVerificationFlavor (firrtl::VerificationFlavor value)
 
FirtoolOptionssetEmitSeparateAlwaysBlocks (bool value)
 
FirtoolOptionssetEtcDisableInstanceExtraction (bool value)
 
FirtoolOptionssetEtcDisableRegisterExtraction (bool value)
 
FirtoolOptionssetEtcDisableModuleInlining (bool value)
 
FirtoolOptionssetAddVivadoRAMAddressConflictSynthesisBugWorkaround (bool value)
 
FirtoolOptionssetCkgModuleName (StringRef value)
 
FirtoolOptionssetCkgInputName (StringRef value)
 
FirtoolOptionssetCkgOutputName (StringRef value)
 
FirtoolOptionssetCkgEnableName (StringRef value)
 
FirtoolOptionssetCkgTestEnableName (StringRef value)
 
FirtoolOptionssetExportModuleHierarchy (bool value)
 
FirtoolOptionssetStripFirDebugInfo (bool value)
 
FirtoolOptionssetStripDebugInfo (bool value)
 
FirtoolOptionssetFixupEICGWrapper (bool value)
 
FirtoolOptionssetAddCompanionAssume (bool value)
 
FirtoolOptionssetDisableCSEinClasses (bool value)
 
FirtoolOptionssetSelectDefaultInstanceChoice (bool value)
 

Private Attributes

std::string outputFilename
 
bool disableAnnotationsUnknown
 
bool disableAnnotationsClassless
 
bool lowerAnnotationsNoRefTypePorts
 
bool allowAddingPortsOnPublic
 
bool probesToSignals
 
firrtl::PreserveAggregate::PreserveMode preserveAggregate
 
firrtl::PreserveValues::PreserveMode preserveMode
 
bool enableDebugInfo
 
BuildMode buildMode
 
bool disableLayerSink
 
bool disableOptimization
 
bool exportChiselInterface
 
std::string chiselInterfaceOutDirectory
 
bool vbToBV
 
bool noDedup
 
firrtl::CompanionMode companionMode
 
bool disableAggressiveMergeConnections
 
bool advancedLayerSink
 
bool lowerMemories
 
std::string blackBoxRootPath
 
bool replSeqMem
 
std::string replSeqMemFile
 
bool extractTestCode
 
bool ignoreReadEnableMem
 
RandomKind disableRandom
 
std::string outputAnnotationFilename
 
bool enableAnnotationWarning
 
bool addMuxPragmas
 
firrtl::VerificationFlavor verificationFlavor
 
bool emitSeparateAlwaysBlocks
 
bool etcDisableInstanceExtraction
 
bool etcDisableRegisterExtraction
 
bool etcDisableModuleInlining
 
bool addVivadoRAMAddressConflictSynthesisBugWorkaround
 
std::string ckgModuleName
 
std::string ckgInputName
 
std::string ckgOutputName
 
std::string ckgEnableName
 
std::string ckgTestEnableName
 
std::string ckgInstName
 
bool exportModuleHierarchy
 
bool stripFirDebugInfo
 
bool stripDebugInfo
 
bool fixupEICGWrapper
 
bool addCompanionAssume
 
bool disableCSEinClasses
 
bool selectDefaultInstanceChoice
 

Detailed Description

Set of options used to control the behavior of the firtool pipeline.

Definition at line 30 of file Firtool.h.

Member Enumeration Documentation

◆ BuildMode

Enumerator
BuildModeDefault 
BuildModeDebug 
BuildModeRelease 

Definition at line 35 of file Firtool.h.

◆ RandomKind

Enumerator
None 
Mem 
Reg 
All 

Definition at line 36 of file Firtool.h.

Constructor & Destructor Documentation

◆ FirtoolOptions()

circt::firtool::FirtoolOptions::FirtoolOptions ( )

Member Function Documentation

◆ getBlackBoxRootPath()

StringRef circt::firtool::FirtoolOptions::getBlackBoxRootPath ( ) const
inline

Definition at line 55 of file Firtool.h.

References blackBoxRootPath.

Referenced by circt::firtool::populateCHIRRTLToLowFIRRTL().

◆ getChiselInterfaceOutputDirectory()

StringRef circt::firtool::FirtoolOptions::getChiselInterfaceOutputDirectory ( ) const
inline

Definition at line 56 of file Firtool.h.

References chiselInterfaceOutDirectory.

Referenced by circt::firtool::populateCHIRRTLToLowFIRRTL().

◆ getClockGateOptions()

seq::ExternalizeClockGateOptions circt::firtool::FirtoolOptions::getClockGateOptions ( ) const
inline

◆ getCompanionMode()

firrtl::CompanionMode circt::firtool::FirtoolOptions::getCompanionMode ( ) const
inline

Definition at line 67 of file Firtool.h.

References companionMode.

Referenced by circt::firtool::populateCHIRRTLToLowFIRRTL().

◆ getOutputAnnotationFilename()

StringRef circt::firtool::FirtoolOptions::getOutputAnnotationFilename ( ) const
inline

Definition at line 60 of file Firtool.h.

References outputAnnotationFilename.

Referenced by circt::firtool::populateLowFIRRTLToHW().

◆ getOutputFilename()

StringRef circt::firtool::FirtoolOptions::getOutputFilename ( ) const
inline

Definition at line 54 of file Firtool.h.

References outputFilename.

Referenced by circt::firtool::populateCHIRRTLToLowFIRRTL().

◆ getPreserveAggregate()

firrtl::PreserveAggregate::PreserveMode circt::firtool::FirtoolOptions::getPreserveAggregate ( ) const
inline

Definition at line 64 of file Firtool.h.

References preserveAggregate.

Referenced by circt::firtool::populateCHIRRTLToLowFIRRTL().

◆ getPreserveMode()

firrtl::PreserveValues::PreserveMode circt::firtool::FirtoolOptions::getPreserveMode ( ) const
inline

◆ getReplaceSequentialMemoriesFile()

StringRef circt::firtool::FirtoolOptions::getReplaceSequentialMemoriesFile ( ) const
inline

Definition at line 59 of file Firtool.h.

References replSeqMemFile.

Referenced by circt::firtool::populateCHIRRTLToLowFIRRTL().

◆ getVerificationFlavor()

auto circt::firtool::FirtoolOptions::getVerificationFlavor ( ) const
inline

Definition at line 124 of file Firtool.h.

References verificationFlavor.

Referenced by circt::firtool::populateLowFIRRTLToHW().

◆ isDefaultOutputFilename()

bool circt::firtool::FirtoolOptions::isDefaultOutputFilename ( ) const
inline

Definition at line 84 of file Firtool.h.

References outputFilename.

Referenced by circt::firtool::populateCHIRRTLToLowFIRRTL().

◆ isRandomEnabled()

bool circt::firtool::FirtoolOptions::isRandomEnabled ( RandomKind  kind) const
inline

Definition at line 38 of file Firtool.h.

References All, and disableRandom.

Referenced by circt::firtool::populateCHIRRTLToLowFIRRTL(), and circt::firtool::populateHWToSV().

◆ setAddCompanionAssume()

FirtoolOptions& circt::firtool::FirtoolOptions::setAddCompanionAssume ( bool  value)
inline

Definition at line 364 of file Firtool.h.

References addCompanionAssume.

◆ setAddMuxPragmas()

FirtoolOptions& circt::firtool::FirtoolOptions::setAddMuxPragmas ( bool  value)
inline

Definition at line 283 of file Firtool.h.

References addMuxPragmas.

◆ setAddVivadoRAMAddressConflictSynthesisBugWorkaround()

FirtoolOptions& circt::firtool::FirtoolOptions::setAddVivadoRAMAddressConflictSynthesisBugWorkaround ( bool  value)
inline

Definition at line 314 of file Firtool.h.

References addVivadoRAMAddressConflictSynthesisBugWorkaround.

◆ setAdvancedLayerSink()

FirtoolOptions& circt::firtool::FirtoolOptions::setAdvancedLayerSink ( bool  value)
inline

Definition at line 233 of file Firtool.h.

References advancedLayerSink.

◆ setAllowAddingPortsOnPublic()

FirtoolOptions& circt::firtool::FirtoolOptions::setAllowAddingPortsOnPublic ( bool  value)
inline

Definition at line 161 of file Firtool.h.

References allowAddingPortsOnPublic.

◆ setBlackBoxRootPath()

FirtoolOptions& circt::firtool::FirtoolOptions::setBlackBoxRootPath ( StringRef  value)
inline

Definition at line 243 of file Firtool.h.

References blackBoxRootPath.

◆ setBuildMode()

FirtoolOptions& circt::firtool::FirtoolOptions::setBuildMode ( BuildMode  value)
inline

Definition at line 188 of file Firtool.h.

References buildMode.

◆ setChiselInterfaceOutDirectory()

FirtoolOptions& circt::firtool::FirtoolOptions::setChiselInterfaceOutDirectory ( StringRef  value)
inline

Definition at line 208 of file Firtool.h.

References chiselInterfaceOutDirectory.

◆ setCkgEnableName()

FirtoolOptions& circt::firtool::FirtoolOptions::setCkgEnableName ( StringRef  value)
inline

Definition at line 334 of file Firtool.h.

References ckgEnableName.

◆ setCkgInputName()

FirtoolOptions& circt::firtool::FirtoolOptions::setCkgInputName ( StringRef  value)
inline

Definition at line 324 of file Firtool.h.

References ckgInputName.

◆ setCkgModuleName()

FirtoolOptions& circt::firtool::FirtoolOptions::setCkgModuleName ( StringRef  value)
inline

Definition at line 319 of file Firtool.h.

References ckgModuleName.

◆ setCkgOutputName()

FirtoolOptions& circt::firtool::FirtoolOptions::setCkgOutputName ( StringRef  value)
inline

Definition at line 329 of file Firtool.h.

References ckgOutputName.

◆ setCkgTestEnableName()

FirtoolOptions& circt::firtool::FirtoolOptions::setCkgTestEnableName ( StringRef  value)
inline

Definition at line 339 of file Firtool.h.

References ckgTestEnableName.

◆ setClockGateOptions()

FirtoolOptions& circt::firtool::FirtoolOptions::setClockGateOptions ( seq::ExternalizeClockGateOptions &  opts)
inline

◆ setCompanionMode()

FirtoolOptions& circt::firtool::FirtoolOptions::setCompanionMode ( firrtl::CompanionMode  value)
inline

Definition at line 223 of file Firtool.h.

References companionMode.

◆ setConvertProbesToSignals()

FirtoolOptions& circt::firtool::FirtoolOptions::setConvertProbesToSignals ( bool  value)
inline

Definition at line 166 of file Firtool.h.

References probesToSignals.

◆ setDisableAggressiveMergeConnections()

FirtoolOptions& circt::firtool::FirtoolOptions::setDisableAggressiveMergeConnections ( bool  value)
inline

Definition at line 228 of file Firtool.h.

References disableAggressiveMergeConnections.

◆ setDisableAnnotationsClassless()

FirtoolOptions& circt::firtool::FirtoolOptions::setDisableAnnotationsClassless ( bool  value)
inline

Definition at line 151 of file Firtool.h.

References disableAnnotationsClassless.

◆ setDisableCSEinClasses()

FirtoolOptions& circt::firtool::FirtoolOptions::setDisableCSEinClasses ( bool  value)
inline

Definition at line 369 of file Firtool.h.

References disableCSEinClasses.

◆ setDisableLayerSink()

FirtoolOptions& circt::firtool::FirtoolOptions::setDisableLayerSink ( bool  value)
inline

Definition at line 193 of file Firtool.h.

References disableLayerSink.

◆ setDisableOptimization()

FirtoolOptions& circt::firtool::FirtoolOptions::setDisableOptimization ( bool  value)
inline

Definition at line 198 of file Firtool.h.

References disableOptimization.

◆ setDisableRandom()

FirtoolOptions& circt::firtool::FirtoolOptions::setDisableRandom ( RandomKind  value)
inline

Definition at line 268 of file Firtool.h.

References disableRandom.

◆ setDisableUnknownAnnotations()

FirtoolOptions& circt::firtool::FirtoolOptions::setDisableUnknownAnnotations ( bool  disable)
inline

Definition at line 146 of file Firtool.h.

References disableAnnotationsUnknown.

◆ setEmitSeparateAlwaysBlocks()

FirtoolOptions& circt::firtool::FirtoolOptions::setEmitSeparateAlwaysBlocks ( bool  value)
inline

Definition at line 293 of file Firtool.h.

References emitSeparateAlwaysBlocks.

◆ setEnableAnnotationWarning()

FirtoolOptions& circt::firtool::FirtoolOptions::setEnableAnnotationWarning ( bool  value)
inline

Definition at line 278 of file Firtool.h.

References enableAnnotationWarning.

◆ setEnableDebugInfo()

FirtoolOptions& circt::firtool::FirtoolOptions::setEnableDebugInfo ( bool  value)
inline

Definition at line 183 of file Firtool.h.

References enableDebugInfo.

◆ setEtcDisableInstanceExtraction()

FirtoolOptions& circt::firtool::FirtoolOptions::setEtcDisableInstanceExtraction ( bool  value)
inline

Definition at line 298 of file Firtool.h.

References etcDisableInstanceExtraction.

◆ setEtcDisableModuleInlining()

FirtoolOptions& circt::firtool::FirtoolOptions::setEtcDisableModuleInlining ( bool  value)
inline

Definition at line 308 of file Firtool.h.

References etcDisableModuleInlining.

◆ setEtcDisableRegisterExtraction()

FirtoolOptions& circt::firtool::FirtoolOptions::setEtcDisableRegisterExtraction ( bool  value)
inline

Definition at line 303 of file Firtool.h.

References etcDisableRegisterExtraction.

◆ setExportChiselInterface()

FirtoolOptions& circt::firtool::FirtoolOptions::setExportChiselInterface ( bool  value)
inline

Definition at line 203 of file Firtool.h.

References exportChiselInterface.

◆ setExportModuleHierarchy()

FirtoolOptions& circt::firtool::FirtoolOptions::setExportModuleHierarchy ( bool  value)
inline

Definition at line 344 of file Firtool.h.

References exportModuleHierarchy.

◆ setExtractTestCode()

FirtoolOptions& circt::firtool::FirtoolOptions::setExtractTestCode ( bool  value)
inline

Definition at line 258 of file Firtool.h.

References extractTestCode.

◆ setFixupEICGWrapper()

FirtoolOptions& circt::firtool::FirtoolOptions::setFixupEICGWrapper ( bool  value)
inline

Definition at line 359 of file Firtool.h.

References fixupEICGWrapper.

◆ setIgnoreReadEnableMem()

FirtoolOptions& circt::firtool::FirtoolOptions::setIgnoreReadEnableMem ( bool  value)
inline

Definition at line 263 of file Firtool.h.

References ignoreReadEnableMem.

◆ setLowerAnnotationsNoRefTypePorts()

FirtoolOptions& circt::firtool::FirtoolOptions::setLowerAnnotationsNoRefTypePorts ( bool  value)
inline

Definition at line 156 of file Firtool.h.

References lowerAnnotationsNoRefTypePorts.

◆ setLowerMemories()

FirtoolOptions& circt::firtool::FirtoolOptions::setLowerMemories ( bool  value)
inline

Definition at line 238 of file Firtool.h.

References lowerMemories.

◆ setNoDedup()

FirtoolOptions& circt::firtool::FirtoolOptions::setNoDedup ( bool  value)
inline

Definition at line 218 of file Firtool.h.

References noDedup.

◆ setOutputAnnotationFilename()

FirtoolOptions& circt::firtool::FirtoolOptions::setOutputAnnotationFilename ( StringRef  value)
inline

Definition at line 273 of file Firtool.h.

References outputAnnotationFilename.

◆ setOutputFilename()

FirtoolOptions& circt::firtool::FirtoolOptions::setOutputFilename ( StringRef  name)
inline

Definition at line 141 of file Firtool.h.

References outputFilename.

◆ setPreserveAggregate()

FirtoolOptions& circt::firtool::FirtoolOptions::setPreserveAggregate ( firrtl::PreserveAggregate::PreserveMode  value)
inline

Definition at line 172 of file Firtool.h.

References preserveAggregate.

◆ setPreserveValues()

FirtoolOptions& circt::firtool::FirtoolOptions::setPreserveValues ( firrtl::PreserveValues::PreserveMode  value)
inline

Definition at line 178 of file Firtool.h.

References preserveMode.

◆ setReplSeqMem()

FirtoolOptions& circt::firtool::FirtoolOptions::setReplSeqMem ( bool  value)
inline

Definition at line 248 of file Firtool.h.

References replSeqMem.

◆ setReplSeqMemFile()

FirtoolOptions& circt::firtool::FirtoolOptions::setReplSeqMemFile ( StringRef  value)
inline

Definition at line 253 of file Firtool.h.

References replSeqMemFile.

◆ setSelectDefaultInstanceChoice()

FirtoolOptions& circt::firtool::FirtoolOptions::setSelectDefaultInstanceChoice ( bool  value)
inline

Definition at line 374 of file Firtool.h.

References selectDefaultInstanceChoice.

◆ setStripDebugInfo()

FirtoolOptions& circt::firtool::FirtoolOptions::setStripDebugInfo ( bool  value)
inline

Definition at line 354 of file Firtool.h.

References stripDebugInfo.

◆ setStripFirDebugInfo()

FirtoolOptions& circt::firtool::FirtoolOptions::setStripFirDebugInfo ( bool  value)
inline

Definition at line 349 of file Firtool.h.

References stripFirDebugInfo.

◆ setVbToBV()

FirtoolOptions& circt::firtool::FirtoolOptions::setVbToBV ( bool  value)
inline

Definition at line 213 of file Firtool.h.

References vbToBV.

◆ setVerificationFlavor()

FirtoolOptions& circt::firtool::FirtoolOptions::setVerificationFlavor ( firrtl::VerificationFlavor  value)
inline

Definition at line 288 of file Firtool.h.

References verificationFlavor.

◆ shouldAddCompanionAssume()

bool circt::firtool::FirtoolOptions::shouldAddCompanionAssume ( ) const
inline

Definition at line 134 of file Firtool.h.

References addCompanionAssume.

Referenced by circt::firtool::populateCHIRRTLToLowFIRRTL().

◆ shouldAddMuxPragmas()

bool circt::firtool::FirtoolOptions::shouldAddMuxPragmas ( ) const
inline

Definition at line 128 of file Firtool.h.

References addMuxPragmas.

Referenced by circt::firtool::populateHWToSV().

◆ shouldAddVivadoRAMAddressConflictSynthesisBugWorkaround()

bool circt::firtool::FirtoolOptions::shouldAddVivadoRAMAddressConflictSynthesisBugWorkaround ( ) const
inline

◆ shouldAdvancedLayerSink()

bool circt::firtool::FirtoolOptions::shouldAdvancedLayerSink ( ) const
inline

Definition at line 101 of file Firtool.h.

References advancedLayerSink.

Referenced by circt::firtool::populateCHIRRTLToLowFIRRTL().

◆ shouldAllowAddingPortsOnPublic()

bool circt::firtool::FirtoolOptions::shouldAllowAddingPortsOnPublic ( ) const
inline

Definition at line 94 of file Firtool.h.

References allowAddingPortsOnPublic.

Referenced by circt::firtool::populatePreprocessTransforms().

◆ shouldConvertProbesToSignals()

bool circt::firtool::FirtoolOptions::shouldConvertProbesToSignals ( ) const
inline

Definition at line 97 of file Firtool.h.

References probesToSignals.

Referenced by circt::firtool::populateCHIRRTLToLowFIRRTL().

◆ shouldConvertVecOfBundle()

bool circt::firtool::FirtoolOptions::shouldConvertVecOfBundle ( ) const
inline

Definition at line 107 of file Firtool.h.

References vbToBV.

Referenced by circt::firtool::populateCHIRRTLToLowFIRRTL().

◆ shouldDedup()

bool circt::firtool::FirtoolOptions::shouldDedup ( ) const
inline

Definition at line 103 of file Firtool.h.

References noDedup.

Referenced by circt::firtool::populateCHIRRTLToLowFIRRTL().

◆ shouldDisableAggressiveMergeConnections()

bool circt::firtool::FirtoolOptions::shouldDisableAggressiveMergeConnections ( ) const
inline

Definition at line 120 of file Firtool.h.

References disableAggressiveMergeConnections.

Referenced by circt::firtool::populateCHIRRTLToLowFIRRTL().

◆ shouldDisableClasslessAnnotations()

bool circt::firtool::FirtoolOptions::shouldDisableClasslessAnnotations ( ) const
inline

Definition at line 88 of file Firtool.h.

References disableAnnotationsClassless.

Referenced by circt::firtool::populatePreprocessTransforms().

◆ shouldDisableCSEinClasses()

bool circt::firtool::FirtoolOptions::shouldDisableCSEinClasses ( ) const
inline

Definition at line 135 of file Firtool.h.

References disableCSEinClasses.

Referenced by circt::firtool::populateCHIRRTLToLowFIRRTL().

◆ shouldDisableLayerSink()

bool circt::firtool::FirtoolOptions::shouldDisableLayerSink ( ) const
inline

Definition at line 99 of file Firtool.h.

References disableLayerSink.

Referenced by circt::firtool::populateCHIRRTLToLowFIRRTL().

◆ shouldDisableOptimization()

bool circt::firtool::FirtoolOptions::shouldDisableOptimization ( ) const
inline

◆ shouldDisableUnknownAnnotations()

bool circt::firtool::FirtoolOptions::shouldDisableUnknownAnnotations ( ) const
inline

Definition at line 85 of file Firtool.h.

References disableAnnotationsUnknown.

Referenced by circt::firtool::populatePreprocessTransforms().

◆ shouldEmitSeparateAlwaysBlocks()

bool circt::firtool::FirtoolOptions::shouldEmitSeparateAlwaysBlocks ( ) const
inline

Definition at line 125 of file Firtool.h.

References emitSeparateAlwaysBlocks.

Referenced by circt::firtool::populateHWToSV().

◆ shouldEnableAnnotationWarning()

bool circt::firtool::FirtoolOptions::shouldEnableAnnotationWarning ( ) const
inline

Definition at line 123 of file Firtool.h.

References enableAnnotationWarning.

Referenced by circt::firtool::populateLowFIRRTLToHW().

◆ shouldEnableDebugInfo()

bool circt::firtool::FirtoolOptions::shouldEnableDebugInfo ( ) const
inline

Definition at line 104 of file Firtool.h.

References enableDebugInfo.

Referenced by circt::firtool::populatePreprocessTransforms().

◆ shouldEtcDisableInstanceExtraction()

bool circt::firtool::FirtoolOptions::shouldEtcDisableInstanceExtraction ( ) const
inline

Definition at line 108 of file Firtool.h.

References etcDisableInstanceExtraction.

Referenced by circt::firtool::populateHWToSV().

◆ shouldEtcDisableModuleInlining()

bool circt::firtool::FirtoolOptions::shouldEtcDisableModuleInlining ( ) const
inline

Definition at line 114 of file Firtool.h.

References etcDisableModuleInlining.

Referenced by circt::firtool::populateHWToSV().

◆ shouldEtcDisableRegisterExtraction()

bool circt::firtool::FirtoolOptions::shouldEtcDisableRegisterExtraction ( ) const
inline

Definition at line 111 of file Firtool.h.

References etcDisableRegisterExtraction.

Referenced by circt::firtool::populateHWToSV().

◆ shouldExportChiselInterface()

bool circt::firtool::FirtoolOptions::shouldExportChiselInterface ( ) const
inline

Definition at line 106 of file Firtool.h.

References exportChiselInterface.

Referenced by circt::firtool::populateCHIRRTLToLowFIRRTL().

◆ shouldExportModuleHierarchy()

bool circt::firtool::FirtoolOptions::shouldExportModuleHierarchy ( ) const
inline

Definition at line 119 of file Firtool.h.

References exportModuleHierarchy.

Referenced by detail::populatePrepareForExportVerilog().

◆ shouldExtractTestCode()

bool circt::firtool::FirtoolOptions::shouldExtractTestCode ( ) const
inline

Definition at line 132 of file Firtool.h.

References extractTestCode.

Referenced by circt::firtool::populateHWToSV().

◆ shouldFixupEICGWrapper()

bool circt::firtool::FirtoolOptions::shouldFixupEICGWrapper ( ) const
inline

Definition at line 133 of file Firtool.h.

References fixupEICGWrapper.

Referenced by circt::firtool::populatePreprocessTransforms().

◆ shouldIgnoreReadEnableMemories()

bool circt::firtool::FirtoolOptions::shouldIgnoreReadEnableMemories ( ) const
inline

◆ shouldLowerMemories()

bool circt::firtool::FirtoolOptions::shouldLowerMemories ( ) const
inline

Definition at line 102 of file Firtool.h.

References lowerMemories.

Referenced by circt::firtool::populateCHIRRTLToLowFIRRTL().

◆ shouldLowerNoRefTypePortAnnotations()

bool circt::firtool::FirtoolOptions::shouldLowerNoRefTypePortAnnotations ( ) const
inline

Definition at line 91 of file Firtool.h.

References lowerAnnotationsNoRefTypePorts.

Referenced by circt::firtool::populatePreprocessTransforms().

◆ shouldReplaceSequentialMemories()

bool circt::firtool::FirtoolOptions::shouldReplaceSequentialMemories ( ) const
inline

Definition at line 98 of file Firtool.h.

References replSeqMem.

Referenced by circt::firtool::populateCHIRRTLToLowFIRRTL(), and circt::firtool::populateHWToSV().

◆ shouldSelectDefaultInstanceChoice()

bool circt::firtool::FirtoolOptions::shouldSelectDefaultInstanceChoice ( ) const
inline

Definition at line 136 of file Firtool.h.

References selectDefaultInstanceChoice.

Referenced by circt::firtool::populateCHIRRTLToLowFIRRTL().

◆ shouldStripDebugInfo()

bool circt::firtool::FirtoolOptions::shouldStripDebugInfo ( ) const
inline

Definition at line 117 of file Firtool.h.

References stripDebugInfo.

Referenced by detail::populatePrepareForExportVerilog().

◆ shouldStripFirDebugInfo()

bool circt::firtool::FirtoolOptions::shouldStripFirDebugInfo ( ) const
inline

Definition at line 118 of file Firtool.h.

References stripFirDebugInfo.

Referenced by detail::populatePrepareForExportVerilog().

Member Data Documentation

◆ addCompanionAssume

bool circt::firtool::FirtoolOptions::addCompanionAssume
private

Definition at line 425 of file Firtool.h.

Referenced by FirtoolOptions(), setAddCompanionAssume(), and shouldAddCompanionAssume().

◆ addMuxPragmas

bool circt::firtool::FirtoolOptions::addMuxPragmas
private

Definition at line 408 of file Firtool.h.

Referenced by FirtoolOptions(), setAddMuxPragmas(), and shouldAddMuxPragmas().

◆ addVivadoRAMAddressConflictSynthesisBugWorkaround

bool circt::firtool::FirtoolOptions::addVivadoRAMAddressConflictSynthesisBugWorkaround
private

◆ advancedLayerSink

bool circt::firtool::FirtoolOptions::advancedLayerSink
private

Definition at line 398 of file Firtool.h.

Referenced by FirtoolOptions(), setAdvancedLayerSink(), and shouldAdvancedLayerSink().

◆ allowAddingPortsOnPublic

bool circt::firtool::FirtoolOptions::allowAddingPortsOnPublic
private

◆ blackBoxRootPath

std::string circt::firtool::FirtoolOptions::blackBoxRootPath
private

Definition at line 400 of file Firtool.h.

Referenced by FirtoolOptions(), getBlackBoxRootPath(), and setBlackBoxRootPath().

◆ buildMode

BuildMode circt::firtool::FirtoolOptions::buildMode
private

Definition at line 389 of file Firtool.h.

Referenced by FirtoolOptions(), getPreserveMode(), and setBuildMode().

◆ chiselInterfaceOutDirectory

std::string circt::firtool::FirtoolOptions::chiselInterfaceOutDirectory
private

◆ ckgEnableName

std::string circt::firtool::FirtoolOptions::ckgEnableName
private

◆ ckgInputName

std::string circt::firtool::FirtoolOptions::ckgInputName
private

◆ ckgInstName

std::string circt::firtool::FirtoolOptions::ckgInstName
private

Definition at line 420 of file Firtool.h.

Referenced by getClockGateOptions(), and setClockGateOptions().

◆ ckgModuleName

std::string circt::firtool::FirtoolOptions::ckgModuleName
private

◆ ckgOutputName

std::string circt::firtool::FirtoolOptions::ckgOutputName
private

◆ ckgTestEnableName

std::string circt::firtool::FirtoolOptions::ckgTestEnableName
private

◆ companionMode

firrtl::CompanionMode circt::firtool::FirtoolOptions::companionMode
private

Definition at line 396 of file Firtool.h.

Referenced by FirtoolOptions(), getCompanionMode(), and setCompanionMode().

◆ disableAggressiveMergeConnections

bool circt::firtool::FirtoolOptions::disableAggressiveMergeConnections
private

◆ disableAnnotationsClassless

bool circt::firtool::FirtoolOptions::disableAnnotationsClassless
private

◆ disableAnnotationsUnknown

bool circt::firtool::FirtoolOptions::disableAnnotationsUnknown
private

◆ disableCSEinClasses

bool circt::firtool::FirtoolOptions::disableCSEinClasses
private

Definition at line 426 of file Firtool.h.

Referenced by setDisableCSEinClasses(), and shouldDisableCSEinClasses().

◆ disableLayerSink

bool circt::firtool::FirtoolOptions::disableLayerSink
private

Definition at line 390 of file Firtool.h.

Referenced by FirtoolOptions(), setDisableLayerSink(), and shouldDisableLayerSink().

◆ disableOptimization

bool circt::firtool::FirtoolOptions::disableOptimization
private

Definition at line 391 of file Firtool.h.

Referenced by FirtoolOptions(), setDisableOptimization(), and shouldDisableOptimization().

◆ disableRandom

RandomKind circt::firtool::FirtoolOptions::disableRandom
private

Definition at line 405 of file Firtool.h.

Referenced by FirtoolOptions(), isRandomEnabled(), and setDisableRandom().

◆ emitSeparateAlwaysBlocks

bool circt::firtool::FirtoolOptions::emitSeparateAlwaysBlocks
private

◆ enableAnnotationWarning

bool circt::firtool::FirtoolOptions::enableAnnotationWarning
private

◆ enableDebugInfo

bool circt::firtool::FirtoolOptions::enableDebugInfo
private

Definition at line 388 of file Firtool.h.

Referenced by FirtoolOptions(), setEnableDebugInfo(), and shouldEnableDebugInfo().

◆ etcDisableInstanceExtraction

bool circt::firtool::FirtoolOptions::etcDisableInstanceExtraction
private

◆ etcDisableModuleInlining

bool circt::firtool::FirtoolOptions::etcDisableModuleInlining
private

◆ etcDisableRegisterExtraction

bool circt::firtool::FirtoolOptions::etcDisableRegisterExtraction
private

◆ exportChiselInterface

bool circt::firtool::FirtoolOptions::exportChiselInterface
private

◆ exportModuleHierarchy

bool circt::firtool::FirtoolOptions::exportModuleHierarchy
private

◆ extractTestCode

bool circt::firtool::FirtoolOptions::extractTestCode
private

Definition at line 403 of file Firtool.h.

Referenced by FirtoolOptions(), setExtractTestCode(), and shouldExtractTestCode().

◆ fixupEICGWrapper

bool circt::firtool::FirtoolOptions::fixupEICGWrapper
private

Definition at line 424 of file Firtool.h.

Referenced by FirtoolOptions(), setFixupEICGWrapper(), and shouldFixupEICGWrapper().

◆ ignoreReadEnableMem

bool circt::firtool::FirtoolOptions::ignoreReadEnableMem
private

◆ lowerAnnotationsNoRefTypePorts

bool circt::firtool::FirtoolOptions::lowerAnnotationsNoRefTypePorts
private

◆ lowerMemories

bool circt::firtool::FirtoolOptions::lowerMemories
private

Definition at line 399 of file Firtool.h.

Referenced by FirtoolOptions(), setLowerMemories(), and shouldLowerMemories().

◆ noDedup

bool circt::firtool::FirtoolOptions::noDedup
private

Definition at line 395 of file Firtool.h.

Referenced by FirtoolOptions(), setNoDedup(), and shouldDedup().

◆ outputAnnotationFilename

std::string circt::firtool::FirtoolOptions::outputAnnotationFilename
private

◆ outputFilename

std::string circt::firtool::FirtoolOptions::outputFilename
private

◆ preserveAggregate

firrtl::PreserveAggregate::PreserveMode circt::firtool::FirtoolOptions::preserveAggregate
private

Definition at line 386 of file Firtool.h.

Referenced by FirtoolOptions(), getPreserveAggregate(), and setPreserveAggregate().

◆ preserveMode

firrtl::PreserveValues::PreserveMode circt::firtool::FirtoolOptions::preserveMode
private

Definition at line 387 of file Firtool.h.

Referenced by FirtoolOptions(), getPreserveMode(), and setPreserveValues().

◆ probesToSignals

bool circt::firtool::FirtoolOptions::probesToSignals
private

◆ replSeqMem

bool circt::firtool::FirtoolOptions::replSeqMem
private

Definition at line 401 of file Firtool.h.

Referenced by FirtoolOptions(), setReplSeqMem(), and shouldReplaceSequentialMemories().

◆ replSeqMemFile

std::string circt::firtool::FirtoolOptions::replSeqMemFile
private

Definition at line 402 of file Firtool.h.

Referenced by FirtoolOptions(), getReplaceSequentialMemoriesFile(), and setReplSeqMemFile().

◆ selectDefaultInstanceChoice

bool circt::firtool::FirtoolOptions::selectDefaultInstanceChoice
private

◆ stripDebugInfo

bool circt::firtool::FirtoolOptions::stripDebugInfo
private

Definition at line 423 of file Firtool.h.

Referenced by FirtoolOptions(), setStripDebugInfo(), and shouldStripDebugInfo().

◆ stripFirDebugInfo

bool circt::firtool::FirtoolOptions::stripFirDebugInfo
private

Definition at line 422 of file Firtool.h.

Referenced by FirtoolOptions(), setStripFirDebugInfo(), and shouldStripFirDebugInfo().

◆ vbToBV

bool circt::firtool::FirtoolOptions::vbToBV
private

Definition at line 394 of file Firtool.h.

Referenced by FirtoolOptions(), setVbToBV(), and shouldConvertVecOfBundle().

◆ verificationFlavor

firrtl::VerificationFlavor circt::firtool::FirtoolOptions::verificationFlavor
private

Definition at line 409 of file Firtool.h.

Referenced by FirtoolOptions(), getVerificationFlavor(), and setVerificationFlavor().


The documentation for this class was generated from the following files: