|
CIRCT 23.0.0git
|
Set of options used to control the behavior of the firtool pipeline. More...
#include <Firtool.h>

Public Types | |
| enum | BuildMode { BuildModeDefault , BuildModeDebug , BuildModeRelease } |
| enum class | RandomKind { None , Mem , Reg , All } |
| enum class | DomainMode { Strip , Disable , Check , Infer , InferAll } |
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. | |
Set of options used to control the behavior of the firtool pipeline.
|
strong |
|
strong |
| circt::firtool::FirtoolOptions::FirtoolOptions | ( | ) |
Definition at line 807 of file Firtool.cpp.
References addMuxPragmas, addVivadoRAMAddressConflictSynthesisBugWorkaround, blackBoxRootPath, buildMode, ckgEnableName, ckgInputName, ckgModuleName, ckgOutputName, ckgTestEnableName, clOptions, companionMode, dedupClasses, disableAggressiveMergeConnections, disableAnnotationsClassless, disableAnnotationsUnknown, disableLayerSink, disableOptimization, disableRandom, disableWireElimination, domainMode, emitAllBindFiles, emitSeparateAlwaysBlocks, enableAnnotationWarning, enableDebugInfo, exportModuleHierarchy, fixupEICGWrapper, ignoreReadEnableMem, inlineInputOnlyModules, lintStaticAsserts, lintXmrsInDesign, lowerAnnotationsNoRefTypePorts, lowerMemories, noDedup, noViews, outputAnnotationFilename, outputFilename, preserveAggregate, preserveMode, probesToSignals, replSeqMem, replSeqMemFile, selectDefaultInstanceChoice, stripDebugInfo, stripFirDebugInfo, symbolicValueLowering, vbToBV, and verificationFlavor.
|
inline |
Definition at line 88 of file Firtool.h.
References blackBoxRootPath.
Referenced by circt::firtool::populateLowFIRRTLToHW().
|
inline |
Definition at line 101 of file Firtool.h.
References ckgEnableName, ckgInputName, ckgInstName, ckgModuleName, ckgOutputName, and ckgTestEnableName.
Referenced by circt::firtool::populateHWToSV().
|
inline |
Definition at line 97 of file Firtool.h.
References companionMode.
Referenced by circt::firtool::populateLowFIRRTLToHW().
|
inline |
Definition at line 170 of file Firtool.h.
References domainMode.
Referenced by circt::firtool::populatePreprocessTransforms().
|
inline |
Definition at line 166 of file Firtool.h.
References emitAllBindFiles.
Referenced by circt::firtool::populateLowFIRRTLToHW().
|
inline |
Definition at line 162 of file Firtool.h.
References lintStaticAsserts.
Referenced by circt::firtool::populateLowFIRRTLToHW().
|
inline |
Definition at line 164 of file Firtool.h.
References lintXmrsInDesign.
Referenced by circt::firtool::populateLowFIRRTLToHW().
|
inline |
Definition at line 99 of file Firtool.h.
References noViews.
Referenced by circt::firtool::populateLowFIRRTLToHW().
|
inline |
Definition at line 90 of file Firtool.h.
References outputAnnotationFilename.
Referenced by circt::firtool::populateLowFIRRTLToHW().
|
inline |
Definition at line 87 of file Firtool.h.
References outputFilename.
Referenced by circt::firtool::populateLowFIRRTLToHW().
|
inline |
Definition at line 94 of file Firtool.h.
References preserveAggregate.
Referenced by circt::firtool::populateCHIRRTLToLowFIRRTL().
|
inline |
Definition at line 75 of file Firtool.h.
References buildMode, BuildModeDebug, BuildModeDefault, BuildModeRelease, circt::firrtl::PreserveValues::Named, circt::firrtl::PreserveValues::None, and preserveMode.
Referenced by circt::firtool::populateCHIRRTLToLowFIRRTL().
|
inline |
Definition at line 89 of file Firtool.h.
References replSeqMemFile.
Referenced by circt::firtool::populateCHIRRTLToLowFIRRTL().
|
inline |
Definition at line 157 of file Firtool.h.
References symbolicValueLowering.
Referenced by circt::firtool::populateHWToSV().
|
inline |
Definition at line 143 of file Firtool.h.
References verificationFlavor.
Referenced by circt::firtool::populateLowFIRRTLToHW().
|
inline |
Definition at line 116 of file Firtool.h.
References outputFilename.
|
inline |
Definition at line 71 of file Firtool.h.
References All, and disableRandom.
Referenced by circt::firtool::populateCHIRRTLToLowFIRRTL(), and circt::firtool::populateHWToSV().
|
inline |
Definition at line 300 of file Firtool.h.
References addMuxPragmas.
|
inline |
Definition at line 316 of file Firtool.h.
References addVivadoRAMAddressConflictSynthesisBugWorkaround.
|
inline |
Definition at line 265 of file Firtool.h.
References blackBoxRootPath.
|
inline |
|
inline |
Definition at line 336 of file Firtool.h.
References ckgEnableName.
|
inline |
Definition at line 326 of file Firtool.h.
References ckgInputName.
|
inline |
Definition at line 321 of file Firtool.h.
References ckgModuleName.
|
inline |
Definition at line 331 of file Firtool.h.
References ckgOutputName.
|
inline |
Definition at line 341 of file Firtool.h.
References ckgTestEnableName.
|
inline |
Definition at line 106 of file Firtool.h.
References ckgEnableName, ckgInputName, ckgInstName, ckgModuleName, ckgOutputName, and ckgTestEnableName.
|
inline |
Definition at line 245 of file Firtool.h.
References companionMode.
|
inline |
Definition at line 193 of file Firtool.h.
References probesToSignals.
|
inline |
Definition at line 240 of file Firtool.h.
References dedupClasses.
|
inline |
Definition at line 255 of file Firtool.h.
References disableAggressiveMergeConnections.
|
inline |
Definition at line 183 of file Firtool.h.
References disableAnnotationsClassless.
|
inline |
Definition at line 366 of file Firtool.h.
References disableCSEinClasses.
|
inline |
Definition at line 220 of file Firtool.h.
References disableLayerSink.
|
inline |
Definition at line 225 of file Firtool.h.
References disableOptimization.
|
inline |
Definition at line 285 of file Firtool.h.
References disableRandom.
|
inline |
Definition at line 178 of file Firtool.h.
References disableAnnotationsUnknown.
|
inline |
Definition at line 381 of file Firtool.h.
References disableWireElimination.
|
inline |
Definition at line 406 of file Firtool.h.
References domainMode.
|
inline |
Definition at line 396 of file Firtool.h.
References emitAllBindFiles.
|
inline |
Definition at line 310 of file Firtool.h.
References emitSeparateAlwaysBlocks.
|
inline |
Definition at line 295 of file Firtool.h.
References enableAnnotationWarning.
|
inline |
Definition at line 210 of file Firtool.h.
References enableDebugInfo.
|
inline |
Definition at line 346 of file Firtool.h.
References exportModuleHierarchy.
|
inline |
Definition at line 361 of file Firtool.h.
References fixupEICGWrapper.
|
inline |
Definition at line 280 of file Firtool.h.
References ignoreReadEnableMem.
|
inline |
Definition at line 401 of file Firtool.h.
References inlineInputOnlyModules.
|
inline |
Definition at line 386 of file Firtool.h.
References lintStaticAsserts.
|
inline |
Definition at line 391 of file Firtool.h.
References lintXmrsInDesign.
|
inline |
Definition at line 188 of file Firtool.h.
References lowerAnnotationsNoRefTypePorts.
|
inline |
Definition at line 260 of file Firtool.h.
References lowerMemories.
|
inline |
|
inline |
|
inline |
Definition at line 290 of file Firtool.h.
References outputAnnotationFilename.
|
inline |
Definition at line 173 of file Firtool.h.
References outputFilename.
|
inline |
Definition at line 199 of file Firtool.h.
References preserveAggregate.
|
inline |
Definition at line 205 of file Firtool.h.
References preserveMode.
|
inline |
Definition at line 270 of file Firtool.h.
References replSeqMem.
|
inline |
Definition at line 275 of file Firtool.h.
References replSeqMemFile.
|
inline |
Definition at line 371 of file Firtool.h.
References selectDefaultInstanceChoice.
|
inline |
Definition at line 356 of file Firtool.h.
References stripDebugInfo.
|
inline |
Definition at line 351 of file Firtool.h.
References stripFirDebugInfo.
|
inline |
Definition at line 376 of file Firtool.h.
References symbolicValueLowering.
|
inline |
|
inline |
Definition at line 305 of file Firtool.h.
References verificationFlavor.
|
inline |
Definition at line 147 of file Firtool.h.
References addMuxPragmas.
Referenced by circt::firtool::populateHWToSV().
|
inline |
Definition at line 148 of file Firtool.h.
References addVivadoRAMAddressConflictSynthesisBugWorkaround.
Referenced by circt::firtool::populateHWToSV().
|
inline |
Definition at line 126 of file Firtool.h.
References probesToSignals.
Referenced by circt::firtool::populateCHIRRTLToLowFIRRTL().
|
inline |
Definition at line 135 of file Firtool.h.
References vbToBV.
Referenced by circt::firtool::populateCHIRRTLToLowFIRRTL().
|
inline |
Definition at line 131 of file Firtool.h.
References noDedup.
Referenced by circt::firtool::populateCHIRRTLToLowFIRRTL().
|
inline |
Definition at line 132 of file Firtool.h.
References dedupClasses.
Referenced by circt::firtool::populateCHIRRTLToLowFIRRTL().
|
inline |
Definition at line 139 of file Firtool.h.
References disableAggressiveMergeConnections.
Referenced by circt::firtool::populateCHIRRTLToLowFIRRTL().
|
inline |
Definition at line 120 of file Firtool.h.
References disableAnnotationsClassless.
Referenced by circt::firtool::populatePreprocessTransforms().
|
inline |
Definition at line 152 of file Firtool.h.
References disableCSEinClasses.
Referenced by circt::firtool::populateCHIRRTLToLowFIRRTL().
|
inline |
Definition at line 128 of file Firtool.h.
References disableLayerSink.
Referenced by circt::firtool::populateLowFIRRTLToHW().
|
inline |
Definition at line 129 of file Firtool.h.
References disableOptimization.
Referenced by circt::firtool::populateCHIRRTLToLowFIRRTL(), circt::firtool::populateHWToSV(), circt::firtool::populateLowFIRRTLToHW(), and detail::populatePrepareForExportVerilog().
|
inline |
Definition at line 117 of file Firtool.h.
References disableAnnotationsUnknown.
Referenced by circt::firtool::populatePreprocessTransforms().
|
inline |
Definition at line 160 of file Firtool.h.
References disableWireElimination.
Referenced by circt::firtool::populateCHIRRTLToLowFIRRTL().
|
inline |
Definition at line 144 of file Firtool.h.
References emitSeparateAlwaysBlocks.
Referenced by circt::firtool::populateHWToSV().
|
inline |
Definition at line 142 of file Firtool.h.
References enableAnnotationWarning.
Referenced by circt::firtool::populateLowFIRRTLToHW().
|
inline |
Definition at line 133 of file Firtool.h.
References enableDebugInfo.
Referenced by circt::firtool::populatePreprocessTransforms().
|
inline |
Definition at line 138 of file Firtool.h.
References exportModuleHierarchy.
Referenced by detail::populatePrepareForExportVerilog().
|
inline |
Definition at line 151 of file Firtool.h.
References fixupEICGWrapper.
Referenced by circt::firtool::populatePreprocessTransforms().
|
inline |
Definition at line 134 of file Firtool.h.
References ignoreReadEnableMem.
Referenced by circt::firtool::populateCHIRRTLToLowFIRRTL(), and circt::firtool::populateHWToSV().
|
inline |
Definition at line 168 of file Firtool.h.
References inlineInputOnlyModules.
Referenced by circt::firtool::populateCHIRRTLToLowFIRRTL().
|
inline |
Definition at line 130 of file Firtool.h.
References lowerMemories.
Referenced by circt::firtool::populateCHIRRTLToLowFIRRTL().
|
inline |
Definition at line 123 of file Firtool.h.
References lowerAnnotationsNoRefTypePorts.
Referenced by circt::firtool::populatePreprocessTransforms().
|
inline |
Definition at line 127 of file Firtool.h.
References replSeqMem.
Referenced by circt::firtool::populateCHIRRTLToLowFIRRTL(), and circt::firtool::populateHWToSV().
|
inline |
Definition at line 153 of file Firtool.h.
References selectDefaultInstanceChoice.
Referenced by circt::firtool::populateCHIRRTLToLowFIRRTL().
|
inline |
Definition at line 136 of file Firtool.h.
References stripDebugInfo.
Referenced by detail::populatePrepareForExportVerilog().
|
inline |
Definition at line 137 of file Firtool.h.
References stripFirDebugInfo.
Referenced by detail::populatePrepareForExportVerilog().
|
inlinestaticconstexpr |
Convert the "domain mode" firtool option to a "firrtl::InferDomainsMode", the configuration for a pass.
Definition at line 56 of file Firtool.h.
References circt::firrtl::Check, Check, Disable, circt::firrtl::Infer, Infer, circt::firrtl::InferAll, InferAll, circt::firrtl::Strip, and Strip.
|
private |
Definition at line 440 of file Firtool.h.
Referenced by FirtoolOptions(), setAddMuxPragmas(), and shouldAddMuxPragmas().
|
private |
Definition at line 443 of file Firtool.h.
Referenced by FirtoolOptions(), setAddVivadoRAMAddressConflictSynthesisBugWorkaround(), and shouldAddVivadoRAMAddressConflictSynthesisBugWorkaround().
|
private |
Definition at line 433 of file Firtool.h.
Referenced by FirtoolOptions(), getBlackBoxRootPath(), and setBlackBoxRootPath().
|
private |
Definition at line 423 of file Firtool.h.
Referenced by FirtoolOptions(), getPreserveMode(), and setBuildMode().
|
private |
Definition at line 447 of file Firtool.h.
Referenced by FirtoolOptions(), getClockGateOptions(), setCkgEnableName(), and setClockGateOptions().
|
private |
Definition at line 445 of file Firtool.h.
Referenced by FirtoolOptions(), getClockGateOptions(), setCkgInputName(), and setClockGateOptions().
|
private |
Definition at line 449 of file Firtool.h.
Referenced by getClockGateOptions(), and setClockGateOptions().
|
private |
Definition at line 444 of file Firtool.h.
Referenced by FirtoolOptions(), getClockGateOptions(), setCkgModuleName(), and setClockGateOptions().
|
private |
Definition at line 446 of file Firtool.h.
Referenced by FirtoolOptions(), getClockGateOptions(), setCkgOutputName(), and setClockGateOptions().
|
private |
Definition at line 448 of file Firtool.h.
Referenced by FirtoolOptions(), getClockGateOptions(), setCkgTestEnableName(), and setClockGateOptions().
|
private |
Definition at line 429 of file Firtool.h.
Referenced by FirtoolOptions(), getCompanionMode(), and setCompanionMode().
|
private |
Definition at line 428 of file Firtool.h.
Referenced by FirtoolOptions(), setDedupClasses(), and shouldDedupClasses().
|
private |
Definition at line 431 of file Firtool.h.
Referenced by FirtoolOptions(), setDisableAggressiveMergeConnections(), and shouldDisableAggressiveMergeConnections().
|
private |
Definition at line 416 of file Firtool.h.
Referenced by FirtoolOptions(), setDisableAnnotationsClassless(), and shouldDisableClasslessAnnotations().
|
private |
Definition at line 415 of file Firtool.h.
Referenced by FirtoolOptions(), setDisableUnknownAnnotations(), and shouldDisableUnknownAnnotations().
|
private |
Definition at line 454 of file Firtool.h.
Referenced by setDisableCSEinClasses(), and shouldDisableCSEinClasses().
|
private |
Definition at line 424 of file Firtool.h.
Referenced by FirtoolOptions(), setDisableLayerSink(), and shouldDisableLayerSink().
|
private |
Definition at line 425 of file Firtool.h.
Referenced by FirtoolOptions(), setDisableOptimization(), and shouldDisableOptimization().
|
private |
Definition at line 437 of file Firtool.h.
Referenced by FirtoolOptions(), isRandomEnabled(), and setDisableRandom().
|
private |
Definition at line 457 of file Firtool.h.
Referenced by FirtoolOptions(), setDisableWireElimination(), and shouldDisableWireElimination().
|
private |
Definition at line 462 of file Firtool.h.
Referenced by FirtoolOptions(), getDomainMode(), and setDomainMode().
|
private |
Definition at line 460 of file Firtool.h.
Referenced by FirtoolOptions(), getEmitAllBindFiles(), and setEmitAllBindFiles().
|
private |
Definition at line 442 of file Firtool.h.
Referenced by FirtoolOptions(), setEmitSeparateAlwaysBlocks(), and shouldEmitSeparateAlwaysBlocks().
|
private |
Definition at line 439 of file Firtool.h.
Referenced by FirtoolOptions(), setEnableAnnotationWarning(), and shouldEnableAnnotationWarning().
|
private |
Definition at line 422 of file Firtool.h.
Referenced by FirtoolOptions(), setEnableDebugInfo(), and shouldEnableDebugInfo().
|
private |
Definition at line 450 of file Firtool.h.
Referenced by FirtoolOptions(), setExportModuleHierarchy(), and shouldExportModuleHierarchy().
|
private |
Definition at line 453 of file Firtool.h.
Referenced by FirtoolOptions(), setFixupEICGWrapper(), and shouldFixupEICGWrapper().
|
private |
Definition at line 436 of file Firtool.h.
Referenced by FirtoolOptions(), setIgnoreReadEnableMem(), and shouldIgnoreReadEnableMemories().
|
private |
Definition at line 461 of file Firtool.h.
Referenced by FirtoolOptions(), setInlineInputOnlyModules(), and shouldInlineInputOnlyModules().
|
private |
Definition at line 458 of file Firtool.h.
Referenced by FirtoolOptions(), getLintStaticAsserts(), and setLintStaticAsserts().
|
private |
Definition at line 459 of file Firtool.h.
Referenced by FirtoolOptions(), getLintXmrsInDesign(), and setLintXmrsInDesign().
|
private |
Definition at line 417 of file Firtool.h.
Referenced by FirtoolOptions(), setLowerAnnotationsNoRefTypePorts(), and shouldLowerNoRefTypePortAnnotations().
|
private |
Definition at line 432 of file Firtool.h.
Referenced by FirtoolOptions(), setLowerMemories(), and shouldLowerMemories().
|
private |
Definition at line 427 of file Firtool.h.
Referenced by FirtoolOptions(), setNoDedup(), and shouldDedup().
|
private |
Definition at line 430 of file Firtool.h.
Referenced by FirtoolOptions(), getNoViews(), and setNoViews().
|
private |
Definition at line 438 of file Firtool.h.
Referenced by FirtoolOptions(), getOutputAnnotationFilename(), and setOutputAnnotationFilename().
|
private |
Definition at line 412 of file Firtool.h.
Referenced by FirtoolOptions(), getOutputFilename(), isDefaultOutputFilename(), and setOutputFilename().
|
private |
Definition at line 420 of file Firtool.h.
Referenced by FirtoolOptions(), getPreserveAggregate(), and setPreserveAggregate().
|
private |
Definition at line 421 of file Firtool.h.
Referenced by FirtoolOptions(), getPreserveMode(), and setPreserveValues().
|
private |
Definition at line 419 of file Firtool.h.
Referenced by FirtoolOptions(), setConvertProbesToSignals(), and shouldConvertProbesToSignals().
|
private |
Definition at line 434 of file Firtool.h.
Referenced by FirtoolOptions(), setReplSeqMem(), and shouldReplaceSequentialMemories().
|
private |
Definition at line 435 of file Firtool.h.
Referenced by FirtoolOptions(), getReplaceSequentialMemoriesFile(), and setReplSeqMemFile().
|
private |
Definition at line 455 of file Firtool.h.
Referenced by FirtoolOptions(), setSelectDefaultInstanceChoice(), and shouldSelectDefaultInstanceChoice().
|
private |
Definition at line 452 of file Firtool.h.
Referenced by FirtoolOptions(), setStripDebugInfo(), and shouldStripDebugInfo().
|
private |
Definition at line 451 of file Firtool.h.
Referenced by FirtoolOptions(), setStripFirDebugInfo(), and shouldStripFirDebugInfo().
|
private |
Definition at line 456 of file Firtool.h.
Referenced by FirtoolOptions(), getSymbolicValueLowering(), and setSymbolicValueLowering().
|
private |
Definition at line 426 of file Firtool.h.
Referenced by FirtoolOptions(), setVbToBV(), and shouldConvertVecOfBundle().
|
private |
Definition at line 441 of file Firtool.h.
Referenced by FirtoolOptions(), getVerificationFlavor(), and setVerificationFlavor().