CIRCT 24.0.0git
Loading...
Searching...
No Matches
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:

Public Types

enum  BuildMode { BuildModeDefault , BuildModeDebug , BuildModeRelease }
enum class  RandomKind { None , Mem , Reg , All }
enum class  DomainMode { Disable , Check , Infer , InferAll }

Public Member Functions

 FirtoolOptions ()
bool isRandomEnabled (RandomKind kind) const
FirtoolOptions & mergeDisableRandom (RandomKind kind)
firrtl::PreserveValues::PreserveMode getPreserveMode () const
StringRef getOutputFilename () const
StringRef getBlackBoxRootPath () const
StringRef getReplaceSequentialMemoriesFile () const
StringRef getOutputAnnotationFilename () const
firrtl::PreserveAggregate::PreserveMode getPreserveAggregate () const
firrtl::CompanionMode getCompanionMode () const
bool getNoViews () const
seq::ExternalizeClockGateOptions getClockGateOptions () const
FirtoolOptions & setClockGateOptions (seq::ExternalizeClockGateOptions &opts)
bool isDefaultOutputFilename () const
bool shouldDisableUnknownAnnotations () const
bool shouldDisableClasslessAnnotations () const
bool shouldLowerNoRefTypePortAnnotations () const
bool shouldConvertProbesToSignals () const
bool shouldReplaceSequentialMemories () const
bool shouldDisableLayerSink () const
bool shouldDisableOptimization () const
bool shouldLowerMemories () const
bool shouldDedup () const
bool shouldEnableDebugInfo () const
bool shouldIgnoreReadEnableMemories () const
bool shouldConvertVecOfBundle () const
bool shouldStripDebugInfo () const
bool shouldStripFirDebugInfo () const
bool shouldExportModuleHierarchy () const
bool shouldDisableAggressiveMergeConnections () const
bool shouldEnableAnnotationWarning () const
bool shouldWarnOnTruncation () const
bool shouldLowerToCore () const
auto getVerificationFlavor () const
bool shouldEmitSeparateAlwaysBlocks () const
bool shouldAddMuxPragmas () const
bool shouldAddVivadoRAMAddressConflictSynthesisBugWorkaround () const
bool shouldFixupEICGWrapper () const
bool shouldDisableCSEinClasses () const
bool shouldSelectDefaultInstanceChoice () const
verif::SymbolicValueLowering getSymbolicValueLowering () const
bool shouldDisableWireElimination () const
bool getLintStaticAsserts () const
bool getLintXmrsInDesign () const
bool getEmitAllBindFiles () const
bool shouldInlineInputOnlyModules () const
DomainMode getDomainMode () const
bool shouldStripDomain () const
ArrayRef< std::string > getSkippedDomains () const
FirtoolOptions & setOutputFilename (StringRef name)
FirtoolOptions & setDisableUnknownAnnotations (bool disable)
FirtoolOptions & setDisableAnnotationsClassless (bool value)
FirtoolOptions & setLowerAnnotationsNoRefTypePorts (bool value)
FirtoolOptions & setConvertProbesToSignals (bool value)
FirtoolOptions & setPreserveAggregate (firrtl::PreserveAggregate::PreserveMode value)
FirtoolOptions & setPreserveValues (firrtl::PreserveValues::PreserveMode value)
FirtoolOptions & setEnableDebugInfo (bool value)
FirtoolOptions & setBuildMode (BuildMode value)
FirtoolOptions & setDisableLayerSink (bool value)
FirtoolOptions & setDisableOptimization (bool value)
FirtoolOptions & setVbToBV (bool value)
FirtoolOptions & setNoDedup (bool value)
FirtoolOptions & setCompanionMode (firrtl::CompanionMode value)
FirtoolOptions & setNoViews (bool value)
FirtoolOptions & setDisableAggressiveMergeConnections (bool value)
FirtoolOptions & setLowerMemories (bool value)
FirtoolOptions & setBlackBoxRootPath (StringRef value)
FirtoolOptions & setReplSeqMem (bool value)
FirtoolOptions & setReplSeqMemFile (StringRef value)
FirtoolOptions & setIgnoreReadEnableMem (bool value)
FirtoolOptions & setOutputAnnotationFilename (StringRef value)
FirtoolOptions & setEnableAnnotationWarning (bool value)
FirtoolOptions & setWarnOnTruncation (bool value)
FirtoolOptions & setLowerToCore (bool value)
FirtoolOptions & setAddMuxPragmas (bool value)
FirtoolOptions & setVerificationFlavor (firrtl::VerificationFlavor value)
FirtoolOptions & setEmitSeparateAlwaysBlocks (bool value)
FirtoolOptions & setAddVivadoRAMAddressConflictSynthesisBugWorkaround (bool value)
FirtoolOptions & setCkgModuleName (StringRef value)
FirtoolOptions & setCkgInputName (StringRef value)
FirtoolOptions & setCkgOutputName (StringRef value)
FirtoolOptions & setCkgEnableName (StringRef value)
FirtoolOptions & setCkgTestEnableName (StringRef value)
FirtoolOptions & setExportModuleHierarchy (bool value)
FirtoolOptions & setStripFirDebugInfo (bool value)
FirtoolOptions & setStripDebugInfo (bool value)
FirtoolOptions & setFixupEICGWrapper (bool value)
FirtoolOptions & setDisableCSEinClasses (bool value)
FirtoolOptions & setSelectDefaultInstanceChoice (bool value)
FirtoolOptions & setSymbolicValueLowering (verif::SymbolicValueLowering mode)
FirtoolOptions & setDisableWireElimination (bool value)
FirtoolOptions & setLintStaticAsserts (bool value)
FirtoolOptions & setLintXmrsInDesign (bool value)
FirtoolOptions & setEmitAllBindFiles (bool value)
FirtoolOptions & setInlineInputOnlyModules (bool value)
FirtoolOptions & setDomainMode (DomainMode value)
FirtoolOptions & setStripDomain (bool value)

Static Public Member Functions

static constexpr std::optional< firrtl::InferDomainsMode > toInferDomainsPassMode (DomainMode mode)
 Convert the "domain mode" firtool option to a "firrtl::InferDomainsMode", the configuration for a pass.
static RandomKind mergeRandomKind (RandomKind current, RandomKind incoming)
 Advance the disabled-randomization lattice.

Private Attributes

std::string outputFilename
bool disableAnnotationsUnknown
bool disableAnnotationsClassless
bool lowerAnnotationsNoRefTypePorts
bool probesToSignals
firrtl::PreserveAggregate::PreserveMode preserveAggregate
firrtl::PreserveValues::PreserveMode preserveMode
bool enableDebugInfo
BuildMode buildMode
bool disableLayerSink
bool disableOptimization
bool vbToBV
bool noDedup
firrtl::CompanionMode companionMode
bool noViews
bool disableAggressiveMergeConnections
bool lowerMemories
std::string blackBoxRootPath
bool replSeqMem
std::string replSeqMemFile
bool ignoreReadEnableMem
RandomKind disableRandom
std::string outputAnnotationFilename
bool enableAnnotationWarning
bool warnOnTruncation
bool lowerToCore
bool addMuxPragmas
firrtl::VerificationFlavor verificationFlavor
bool emitSeparateAlwaysBlocks
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 disableCSEinClasses
bool selectDefaultInstanceChoice
verif::SymbolicValueLowering symbolicValueLowering
bool disableWireElimination
bool lintStaticAsserts
bool lintXmrsInDesign
bool emitAllBindFiles
bool inlineInputOnlyModules
DomainMode domainMode
bool stripDomain
SmallVector< std::string > skippedDomains

Detailed Description

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

Definition at line 32 of file Firtool.h.

Member Enumeration Documentation

◆ BuildMode

Enumerator
BuildModeDefault 
BuildModeDebug 
BuildModeRelease 

Definition at line 37 of file Firtool.h.

◆ DomainMode

Enumerator
Disable 

Disable domain checking.

Check 

Check domains without inference.

Infer 

Check domains with inference for private modules.

InferAll 

Check domains with inference for both public and private modules.

Definition at line 40 of file Firtool.h.

◆ RandomKind

Enumerator
None 
Mem 
Reg 
All 

Definition at line 38 of file Firtool.h.

Constructor & Destructor Documentation

◆ FirtoolOptions()

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

Definition at line 861 of file Firtool.cpp.

References addMuxPragmas, addVivadoRAMAddressConflictSynthesisBugWorkaround, blackBoxRootPath, buildMode, BuildModeRelease, ckgEnableName, ckgInputName, ckgInstName, ckgModuleName, ckgOutputName, ckgTestEnableName, clOptions, companionMode, disableAggressiveMergeConnections, disableAnnotationsClassless, disableAnnotationsUnknown, disableCSEinClasses, disableLayerSink, disableOptimization, disableRandom, disableWireElimination, domainMode, emitAllBindFiles, emitSeparateAlwaysBlocks, enableAnnotationWarning, enableDebugInfo, exportModuleHierarchy, fixupEICGWrapper, ignoreReadEnableMem, inlineInputOnlyModules, lintStaticAsserts, lintXmrsInDesign, lowerAnnotationsNoRefTypePorts, lowerMemories, lowerToCore, noDedup, noViews, outputAnnotationFilename, outputFilename, preserveAggregate, preserveMode, probesToSignals, replSeqMem, replSeqMemFile, selectDefaultInstanceChoice, skippedDomains, stripDebugInfo, stripDomain, stripFirDebugInfo, symbolicValueLowering, vbToBV, verificationFlavor, and warnOnTruncation.

Referenced by mergeDisableRandom(), setAddMuxPragmas(), setBlackBoxRootPath(), setBuildMode(), setCkgEnableName(), setCkgInputName(), setCkgModuleName(), setCkgOutputName(), setCkgTestEnableName(), setClockGateOptions(), setCompanionMode(), setConvertProbesToSignals(), setDisableAggressiveMergeConnections(), setDisableAnnotationsClassless(), setDisableCSEinClasses(), setDisableLayerSink(), setDisableOptimization(), setDisableUnknownAnnotations(), setDisableWireElimination(), setDomainMode(), setEmitAllBindFiles(), setEmitSeparateAlwaysBlocks(), setEnableAnnotationWarning(), setEnableDebugInfo(), setExportModuleHierarchy(), setFixupEICGWrapper(), setIgnoreReadEnableMem(), setInlineInputOnlyModules(), setLintStaticAsserts(), setLintXmrsInDesign(), setLowerAnnotationsNoRefTypePorts(), setLowerMemories(), setLowerToCore(), setNoDedup(), setNoViews(), setOutputAnnotationFilename(), setOutputFilename(), setReplSeqMem(), setReplSeqMemFile(), setSelectDefaultInstanceChoice(), setStripDebugInfo(), setStripDomain(), setStripFirDebugInfo(), setSymbolicValueLowering(), setVbToBV(), setVerificationFlavor(), and setWarnOnTruncation().

Member Function Documentation

◆ getBlackBoxRootPath()

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

Definition at line 99 of file Firtool.h.

References blackBoxRootPath.

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

◆ getClockGateOptions()

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

◆ getCompanionMode()

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

Definition at line 108 of file Firtool.h.

References companionMode.

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

◆ getDomainMode()

DomainMode circt::firtool::FirtoolOptions::getDomainMode ( ) const
inline

Definition at line 182 of file Firtool.h.

References domainMode.

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

◆ getEmitAllBindFiles()

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

Definition at line 178 of file Firtool.h.

References emitAllBindFiles.

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

◆ getLintStaticAsserts()

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

Definition at line 174 of file Firtool.h.

References lintStaticAsserts.

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

◆ getLintXmrsInDesign()

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

Definition at line 176 of file Firtool.h.

References lintXmrsInDesign.

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

◆ getNoViews()

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

Definition at line 110 of file Firtool.h.

References noViews.

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

◆ getOutputAnnotationFilename()

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

Definition at line 101 of file Firtool.h.

References outputAnnotationFilename.

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

◆ getOutputFilename()

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

Definition at line 98 of file Firtool.h.

References outputFilename.

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

◆ getPreserveAggregate()

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

Definition at line 105 of file Firtool.h.

References preserveAggregate.

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

◆ getPreserveMode()

◆ getReplaceSequentialMemoriesFile()

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

Definition at line 100 of file Firtool.h.

References replSeqMemFile.

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

◆ getSkippedDomains()

ArrayRef< std::string > circt::firtool::FirtoolOptions::getSkippedDomains ( ) const
inline

Definition at line 186 of file Firtool.h.

References skippedDomains.

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

◆ getSymbolicValueLowering()

verif::SymbolicValueLowering circt::firtool::FirtoolOptions::getSymbolicValueLowering ( ) const
inline

Definition at line 169 of file Firtool.h.

References symbolicValueLowering.

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

◆ getVerificationFlavor()

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

Definition at line 155 of file Firtool.h.

References verificationFlavor.

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

◆ isDefaultOutputFilename()

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

Definition at line 127 of file Firtool.h.

References outputFilename.

◆ isRandomEnabled()

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

Definition at line 67 of file Firtool.h.

References All, and disableRandom.

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

◆ mergeDisableRandom()

FirtoolOptions & circt::firtool::FirtoolOptions::mergeDisableRandom ( RandomKind kind)
inline

Definition at line 81 of file Firtool.h.

References disableRandom, FirtoolOptions(), and mergeRandomKind().

◆ mergeRandomKind()

RandomKind circt::firtool::FirtoolOptions::mergeRandomKind ( RandomKind current,
RandomKind incoming )
inlinestatic

Advance the disabled-randomization lattice.

Calling this twice with the two individual kinds is equivalent to calling it once with All.

Definition at line 73 of file Firtool.h.

References All, and None.

Referenced by mergeDisableRandom().

◆ setAddMuxPragmas()

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

Definition at line 316 of file Firtool.h.

References addMuxPragmas, and FirtoolOptions().

◆ setAddVivadoRAMAddressConflictSynthesisBugWorkaround()

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

Definition at line 332 of file Firtool.h.

References addVivadoRAMAddressConflictSynthesisBugWorkaround.

◆ setBlackBoxRootPath()

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

Definition at line 276 of file Firtool.h.

References blackBoxRootPath, and FirtoolOptions().

◆ setBuildMode()

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

Definition at line 231 of file Firtool.h.

References buildMode, and FirtoolOptions().

◆ setCkgEnableName()

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

Definition at line 352 of file Firtool.h.

References ckgEnableName, and FirtoolOptions().

◆ setCkgInputName()

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

Definition at line 342 of file Firtool.h.

References ckgInputName, and FirtoolOptions().

◆ setCkgModuleName()

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

Definition at line 337 of file Firtool.h.

References ckgModuleName, and FirtoolOptions().

◆ setCkgOutputName()

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

Definition at line 347 of file Firtool.h.

References ckgOutputName, and FirtoolOptions().

◆ setCkgTestEnableName()

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

Definition at line 357 of file Firtool.h.

References ckgTestEnableName, and FirtoolOptions().

◆ setClockGateOptions()

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

◆ setCompanionMode()

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

Definition at line 256 of file Firtool.h.

References companionMode, and FirtoolOptions().

◆ setConvertProbesToSignals()

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

Definition at line 209 of file Firtool.h.

References FirtoolOptions(), and probesToSignals.

◆ setDisableAggressiveMergeConnections()

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

Definition at line 266 of file Firtool.h.

References disableAggressiveMergeConnections, and FirtoolOptions().

◆ setDisableAnnotationsClassless()

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

Definition at line 199 of file Firtool.h.

References disableAnnotationsClassless, and FirtoolOptions().

◆ setDisableCSEinClasses()

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

Definition at line 382 of file Firtool.h.

References disableCSEinClasses, and FirtoolOptions().

◆ setDisableLayerSink()

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

Definition at line 236 of file Firtool.h.

References disableLayerSink, and FirtoolOptions().

◆ setDisableOptimization()

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

Definition at line 241 of file Firtool.h.

References disableOptimization, and FirtoolOptions().

◆ setDisableUnknownAnnotations()

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

Definition at line 194 of file Firtool.h.

References disableAnnotationsUnknown, and FirtoolOptions().

◆ setDisableWireElimination()

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

Definition at line 397 of file Firtool.h.

References disableWireElimination, and FirtoolOptions().

◆ setDomainMode()

FirtoolOptions & circt::firtool::FirtoolOptions::setDomainMode ( DomainMode value)
inline

Definition at line 422 of file Firtool.h.

References domainMode, and FirtoolOptions().

◆ setEmitAllBindFiles()

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

Definition at line 412 of file Firtool.h.

References emitAllBindFiles, and FirtoolOptions().

◆ setEmitSeparateAlwaysBlocks()

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

Definition at line 326 of file Firtool.h.

References emitSeparateAlwaysBlocks, and FirtoolOptions().

◆ setEnableAnnotationWarning()

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

Definition at line 301 of file Firtool.h.

References enableAnnotationWarning, and FirtoolOptions().

◆ setEnableDebugInfo()

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

Definition at line 226 of file Firtool.h.

References enableDebugInfo, and FirtoolOptions().

◆ setExportModuleHierarchy()

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

Definition at line 362 of file Firtool.h.

References exportModuleHierarchy, and FirtoolOptions().

◆ setFixupEICGWrapper()

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

Definition at line 377 of file Firtool.h.

References FirtoolOptions(), and fixupEICGWrapper.

◆ setIgnoreReadEnableMem()

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

Definition at line 291 of file Firtool.h.

References FirtoolOptions(), and ignoreReadEnableMem.

◆ setInlineInputOnlyModules()

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

Definition at line 417 of file Firtool.h.

References FirtoolOptions(), and inlineInputOnlyModules.

◆ setLintStaticAsserts()

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

Definition at line 402 of file Firtool.h.

References FirtoolOptions(), and lintStaticAsserts.

◆ setLintXmrsInDesign()

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

Definition at line 407 of file Firtool.h.

References FirtoolOptions(), and lintXmrsInDesign.

◆ setLowerAnnotationsNoRefTypePorts()

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

Definition at line 204 of file Firtool.h.

References FirtoolOptions(), and lowerAnnotationsNoRefTypePorts.

◆ setLowerMemories()

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

Definition at line 271 of file Firtool.h.

References FirtoolOptions(), and lowerMemories.

◆ setLowerToCore()

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

Definition at line 311 of file Firtool.h.

References FirtoolOptions(), and lowerToCore.

◆ setNoDedup()

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

Definition at line 251 of file Firtool.h.

References FirtoolOptions(), and noDedup.

◆ setNoViews()

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

Definition at line 261 of file Firtool.h.

References FirtoolOptions(), and noViews.

◆ setOutputAnnotationFilename()

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

Definition at line 296 of file Firtool.h.

References FirtoolOptions(), and outputAnnotationFilename.

◆ setOutputFilename()

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

Definition at line 189 of file Firtool.h.

References FirtoolOptions(), and outputFilename.

◆ setPreserveAggregate()

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

Definition at line 215 of file Firtool.h.

References preserveAggregate.

◆ setPreserveValues()

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

Definition at line 221 of file Firtool.h.

References preserveMode.

◆ setReplSeqMem()

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

Definition at line 281 of file Firtool.h.

References FirtoolOptions(), and replSeqMem.

◆ setReplSeqMemFile()

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

Definition at line 286 of file Firtool.h.

References FirtoolOptions(), and replSeqMemFile.

◆ setSelectDefaultInstanceChoice()

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

Definition at line 387 of file Firtool.h.

References FirtoolOptions(), and selectDefaultInstanceChoice.

◆ setStripDebugInfo()

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

Definition at line 372 of file Firtool.h.

References FirtoolOptions(), and stripDebugInfo.

◆ setStripDomain()

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

Definition at line 427 of file Firtool.h.

References FirtoolOptions(), and stripDomain.

◆ setStripFirDebugInfo()

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

Definition at line 367 of file Firtool.h.

References FirtoolOptions(), and stripFirDebugInfo.

◆ setSymbolicValueLowering()

FirtoolOptions & circt::firtool::FirtoolOptions::setSymbolicValueLowering ( verif::SymbolicValueLowering mode)
inline

Definition at line 392 of file Firtool.h.

References FirtoolOptions(), and symbolicValueLowering.

◆ setVbToBV()

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

Definition at line 246 of file Firtool.h.

References FirtoolOptions(), and vbToBV.

◆ setVerificationFlavor()

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

Definition at line 321 of file Firtool.h.

References FirtoolOptions(), and verificationFlavor.

◆ setWarnOnTruncation()

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

Definition at line 306 of file Firtool.h.

References FirtoolOptions(), and warnOnTruncation.

◆ shouldAddMuxPragmas()

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

Definition at line 159 of file Firtool.h.

References addMuxPragmas.

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

◆ shouldAddVivadoRAMAddressConflictSynthesisBugWorkaround()

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

◆ shouldConvertProbesToSignals()

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

Definition at line 137 of file Firtool.h.

References probesToSignals.

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

◆ shouldConvertVecOfBundle()

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

Definition at line 145 of file Firtool.h.

References vbToBV.

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

◆ shouldDedup()

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

Definition at line 142 of file Firtool.h.

References noDedup.

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

◆ shouldDisableAggressiveMergeConnections()

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

Definition at line 149 of file Firtool.h.

References disableAggressiveMergeConnections.

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

◆ shouldDisableClasslessAnnotations()

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

Definition at line 131 of file Firtool.h.

References disableAnnotationsClassless.

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

◆ shouldDisableCSEinClasses()

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

Definition at line 164 of file Firtool.h.

References disableCSEinClasses.

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

◆ shouldDisableLayerSink()

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

Definition at line 139 of file Firtool.h.

References disableLayerSink.

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

◆ shouldDisableOptimization()

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

◆ shouldDisableUnknownAnnotations()

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

Definition at line 128 of file Firtool.h.

References disableAnnotationsUnknown.

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

◆ shouldDisableWireElimination()

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

Definition at line 172 of file Firtool.h.

References disableWireElimination.

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

◆ shouldEmitSeparateAlwaysBlocks()

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

Definition at line 156 of file Firtool.h.

References emitSeparateAlwaysBlocks.

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

◆ shouldEnableAnnotationWarning()

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

Definition at line 152 of file Firtool.h.

References enableAnnotationWarning.

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

◆ shouldEnableDebugInfo()

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

Definition at line 143 of file Firtool.h.

References enableDebugInfo.

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

◆ shouldExportModuleHierarchy()

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

Definition at line 148 of file Firtool.h.

References exportModuleHierarchy.

Referenced by detail::populatePrepareForExportVerilog().

◆ shouldFixupEICGWrapper()

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

Definition at line 163 of file Firtool.h.

References fixupEICGWrapper.

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

◆ shouldIgnoreReadEnableMemories()

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

Definition at line 144 of file Firtool.h.

References ignoreReadEnableMem.

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

◆ shouldInlineInputOnlyModules()

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

Definition at line 180 of file Firtool.h.

References inlineInputOnlyModules.

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

◆ shouldLowerMemories()

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

Definition at line 141 of file Firtool.h.

References lowerMemories.

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

◆ shouldLowerNoRefTypePortAnnotations()

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

Definition at line 134 of file Firtool.h.

References lowerAnnotationsNoRefTypePorts.

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

◆ shouldLowerToCore()

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

Definition at line 154 of file Firtool.h.

References lowerToCore.

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

◆ shouldReplaceSequentialMemories()

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

Definition at line 138 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 165 of file Firtool.h.

References selectDefaultInstanceChoice.

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

◆ shouldStripDebugInfo()

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

Definition at line 146 of file Firtool.h.

References stripDebugInfo.

Referenced by detail::populatePrepareForExportVerilog().

◆ shouldStripDomain()

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

Definition at line 184 of file Firtool.h.

References stripDomain.

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

◆ shouldStripFirDebugInfo()

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

Definition at line 147 of file Firtool.h.

References stripFirDebugInfo.

Referenced by detail::populatePrepareForExportVerilog().

◆ shouldWarnOnTruncation()

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

Definition at line 153 of file Firtool.h.

References warnOnTruncation.

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

◆ toInferDomainsPassMode()

constexpr std::optional< firrtl::InferDomainsMode > circt::firtool::FirtoolOptions::toInferDomainsPassMode ( DomainMode mode)
inlinestaticconstexpr

Convert the "domain mode" firtool option to a "firrtl::InferDomainsMode", the configuration for a pass.

Definition at line 54 of file Firtool.h.

References circt::firrtl::Check, Check, Disable, circt::firrtl::Infer, Infer, circt::firrtl::InferAll, and InferAll.

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

Member Data Documentation

◆ addMuxPragmas

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

Definition at line 462 of file Firtool.h.

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

◆ addVivadoRAMAddressConflictSynthesisBugWorkaround

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

◆ blackBoxRootPath

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

Definition at line 453 of file Firtool.h.

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

◆ buildMode

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

Definition at line 444 of file Firtool.h.

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

◆ 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 471 of file Firtool.h.

Referenced by FirtoolOptions(), 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 449 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 476 of file Firtool.h.

Referenced by FirtoolOptions(), setDisableCSEinClasses(), and shouldDisableCSEinClasses().

◆ disableLayerSink

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

Definition at line 445 of file Firtool.h.

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

◆ disableOptimization

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

Definition at line 446 of file Firtool.h.

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

◆ disableRandom

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

Definition at line 457 of file Firtool.h.

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

◆ disableWireElimination

bool circt::firtool::FirtoolOptions::disableWireElimination
private

◆ domainMode

DomainMode circt::firtool::FirtoolOptions::domainMode
private

Definition at line 484 of file Firtool.h.

Referenced by FirtoolOptions(), getDomainMode(), and setDomainMode().

◆ emitAllBindFiles

bool circt::firtool::FirtoolOptions::emitAllBindFiles
private

Definition at line 482 of file Firtool.h.

Referenced by FirtoolOptions(), getEmitAllBindFiles(), and setEmitAllBindFiles().

◆ emitSeparateAlwaysBlocks

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

◆ enableAnnotationWarning

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

◆ enableDebugInfo

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

Definition at line 443 of file Firtool.h.

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

◆ exportModuleHierarchy

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

◆ fixupEICGWrapper

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

Definition at line 475 of file Firtool.h.

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

◆ ignoreReadEnableMem

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

◆ inlineInputOnlyModules

bool circt::firtool::FirtoolOptions::inlineInputOnlyModules
private

◆ lintStaticAsserts

bool circt::firtool::FirtoolOptions::lintStaticAsserts
private

Definition at line 480 of file Firtool.h.

Referenced by FirtoolOptions(), getLintStaticAsserts(), and setLintStaticAsserts().

◆ lintXmrsInDesign

bool circt::firtool::FirtoolOptions::lintXmrsInDesign
private

Definition at line 481 of file Firtool.h.

Referenced by FirtoolOptions(), getLintXmrsInDesign(), and setLintXmrsInDesign().

◆ lowerAnnotationsNoRefTypePorts

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

◆ lowerMemories

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

Definition at line 452 of file Firtool.h.

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

◆ lowerToCore

bool circt::firtool::FirtoolOptions::lowerToCore
private

Definition at line 461 of file Firtool.h.

Referenced by FirtoolOptions(), setLowerToCore(), and shouldLowerToCore().

◆ noDedup

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

Definition at line 448 of file Firtool.h.

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

◆ noViews

bool circt::firtool::FirtoolOptions::noViews
private

Definition at line 450 of file Firtool.h.

Referenced by FirtoolOptions(), getNoViews(), and setNoViews().

◆ 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 441 of file Firtool.h.

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

◆ preserveMode

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

Definition at line 442 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 454 of file Firtool.h.

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

◆ replSeqMemFile

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

Definition at line 455 of file Firtool.h.

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

◆ selectDefaultInstanceChoice

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

◆ skippedDomains

SmallVector<std::string> circt::firtool::FirtoolOptions::skippedDomains
private

Definition at line 486 of file Firtool.h.

Referenced by FirtoolOptions(), and getSkippedDomains().

◆ stripDebugInfo

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

Definition at line 474 of file Firtool.h.

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

◆ stripDomain

bool circt::firtool::FirtoolOptions::stripDomain
private

Definition at line 485 of file Firtool.h.

Referenced by FirtoolOptions(), setStripDomain(), and shouldStripDomain().

◆ stripFirDebugInfo

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

Definition at line 473 of file Firtool.h.

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

◆ symbolicValueLowering

verif::SymbolicValueLowering circt::firtool::FirtoolOptions::symbolicValueLowering
private

Definition at line 478 of file Firtool.h.

Referenced by FirtoolOptions(), getSymbolicValueLowering(), and setSymbolicValueLowering().

◆ vbToBV

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

Definition at line 447 of file Firtool.h.

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

◆ verificationFlavor

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

Definition at line 463 of file Firtool.h.

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

◆ warnOnTruncation

bool circt::firtool::FirtoolOptions::warnOnTruncation
private

Definition at line 460 of file Firtool.h.

Referenced by FirtoolOptions(), setWarnOnTruncation(), and shouldWarnOnTruncation().


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