CIRCT 22.0.0git
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
ImportVerilog.h File Reference
#include "circt/Support/LLVM.h"
#include "mlir/Pass/PassOptions.h"
#include "llvm/Support/CommandLine.h"
#include <cstdint>
#include <optional>
#include <string>
#include <vector>
Include dependency graph for ImportVerilog.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  circt::ImportVerilogOptions
 Options that control how Verilog input files are parsed and processed. More...
 
struct  circt::LlhdToCorePipelineOptions
 Convert LLHD dialect IR into core dialect IR. More...
 

Namespaces

namespace  llvm
 
namespace  mlir
 
namespace  circt
 The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
 

Functions

mlir::LogicalResult circt::importVerilog (llvm::SourceMgr &sourceMgr, mlir::MLIRContext *context, mlir::TimingScope &ts, mlir::ModuleOp module, const ImportVerilogOptions *options=nullptr)
 Parse files in a source manager as Verilog source code and populate the given MLIR module with corresponding ops.
 
void circt::populateVerilogToMoorePipeline (mlir::OpPassManager &pm)
 Optimize and simplify the Moore dialect IR.
 
void circt::populateMooreToCorePipeline (mlir::OpPassManager &pm)
 Convert Moore dialect IR into core dialect IR.
 
void circt::populateLlhdToCorePipeline (mlir::OpPassManager &pm, const LlhdToCorePipelineOptions &options)
 
mlir::LogicalResult circt::preprocessVerilog (llvm::SourceMgr &sourceMgr, mlir::MLIRContext *context, mlir::TimingScope &ts, llvm::raw_ostream &os, const ImportVerilogOptions *options=nullptr)
 Run the files in a source manager through Slang's Verilog preprocessor and emit the result to the given output stream.
 
void circt::registerFromVerilogTranslation ()
 Register the import-verilog MLIR translation.
 
std::string circt::getSlangVersion ()
 Return a human-readable string describing the slang frontend version linked into CIRCT.