Loading [MathJax]/extensions/tex2jax.js
CIRCT 21.0.0git
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Functions
circt::firtool Namespace Reference

Classes

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

Functions

void registerFirtoolCLOptions ()
 Register a set of useful command-line options that can be used to configure various flags within the MLIRContext.
 
LogicalResult populatePreprocessTransforms (mlir::PassManager &pm, const FirtoolOptions &opt)
 
LogicalResult populateCHIRRTLToLowFIRRTL (mlir::PassManager &pm, const FirtoolOptions &opt)
 
LogicalResult populateLowFIRRTLToHW (mlir::PassManager &pm, const FirtoolOptions &opt, StringRef inputFilename)
 
LogicalResult populateHWToSV (mlir::PassManager &pm, const FirtoolOptions &opt)
 
LogicalResult populateExportVerilog (mlir::PassManager &pm, const FirtoolOptions &opt, std::unique_ptr< llvm::raw_ostream > os)
 
LogicalResult populateExportVerilog (mlir::PassManager &pm, const FirtoolOptions &opt, llvm::raw_ostream &os)
 
LogicalResult populateExportSplitVerilog (mlir::PassManager &pm, const FirtoolOptions &opt, llvm::StringRef directory)
 
LogicalResult populateFinalizeIR (mlir::PassManager &pm, const FirtoolOptions &opt)
 
LogicalResult populateHWToBTOR2 (mlir::PassManager &pm, const FirtoolOptions &opt, llvm::raw_ostream &os)
 

Function Documentation

◆ populateCHIRRTLToLowFIRRTL()

LogicalResult circt::firtool::populateCHIRRTLToLowFIRRTL ( mlir::PassManager &  pm,
const FirtoolOptions opt 
)

Definition at line 55 of file Firtool.cpp.

References circt::firrtl::PreserveAggregate::All, circt::createExportChiselInterfacePass(), circt::createExportSplitChiselInterfacePass(), circt::createSimpleCanonicalizerPass(), circt::firtool::FirtoolOptions::getChiselInterfaceOutputDirectory(), circt::firtool::FirtoolOptions::getOutputFilename(), circt::firtool::FirtoolOptions::getPreserveAggregate(), circt::firtool::FirtoolOptions::getPreserveMode(), circt::firtool::FirtoolOptions::getReplaceSequentialMemoriesFile(), circt::firtool::FirtoolOptions::isDefaultOutputFilename(), circt::firtool::FirtoolOptions::isRandomEnabled(), circt::firrtl::PreserveAggregate::None, circt::firtool::FirtoolOptions::shouldAddCompanionAssume(), circt::firtool::FirtoolOptions::shouldConvertProbesToSignals(), circt::firtool::FirtoolOptions::shouldConvertVecOfBundle(), circt::firtool::FirtoolOptions::shouldDedup(), circt::firtool::FirtoolOptions::shouldDisableAggressiveMergeConnections(), circt::firtool::FirtoolOptions::shouldDisableCSEinClasses(), circt::firtool::FirtoolOptions::shouldDisableOptimization(), circt::firtool::FirtoolOptions::shouldDisableWireElimination(), circt::firtool::FirtoolOptions::shouldExportChiselInterface(), circt::firtool::FirtoolOptions::shouldIgnoreReadEnableMemories(), circt::firtool::FirtoolOptions::shouldLowerMemories(), circt::firtool::FirtoolOptions::shouldReplaceSequentialMemories(), and circt::firtool::FirtoolOptions::shouldSelectDefaultInstanceChoice().

Referenced by circtFirtoolPopulateCHIRRTLToLowFIRRTL().

◆ populateExportSplitVerilog()

LogicalResult circt::firtool::populateExportSplitVerilog ( mlir::PassManager &  pm,
const FirtoolOptions opt,
llvm::StringRef  directory 
)

◆ populateExportVerilog() [1/2]

LogicalResult circt::firtool::populateExportVerilog ( mlir::PassManager &  pm,
const FirtoolOptions opt,
llvm::raw_ostream &  os 
)

◆ populateExportVerilog() [2/2]

LogicalResult circt::firtool::populateExportVerilog ( mlir::PassManager &  pm,
const FirtoolOptions opt,
std::unique_ptr< llvm::raw_ostream >  os 
)

◆ populateFinalizeIR()

LogicalResult circt::firtool::populateFinalizeIR ( mlir::PassManager &  pm,
const FirtoolOptions opt 
)

Definition at line 445 of file Firtool.cpp.

Referenced by circtFirtoolPopulateFinalizeIR().

◆ populateHWToBTOR2()

LogicalResult circt::firtool::populateHWToBTOR2 ( mlir::PassManager &  pm,
const FirtoolOptions opt,
llvm::raw_ostream &  os 
)

◆ populateHWToSV()

LogicalResult circt::firtool::populateHWToSV ( mlir::PassManager &  pm,
const FirtoolOptions opt 
)

◆ populateLowFIRRTLToHW()

LogicalResult circt::firtool::populateLowFIRRTLToHW ( mlir::PassManager &  pm,
const FirtoolOptions opt,
StringRef  inputFilename 
)

◆ populatePreprocessTransforms()

LogicalResult circt::firtool::populatePreprocessTransforms ( mlir::PassManager &  pm,
const FirtoolOptions opt 
)

◆ registerFirtoolCLOptions()

void circt::firtool::registerFirtoolCLOptions ( )

Register a set of useful command-line options that can be used to configure various flags within the MLIRContext.

These flags are used when constructing an MLIR context for initialization.

Definition at line 798 of file Firtool.cpp.

References clOptions.