CIRCT  19.0.0git
Macros | Functions | Variables
ExportChiselInterface.cpp File Reference
#include "circt/Conversion/ExportChiselInterface.h"
#include "../PassDetail.h"
#include "circt/Dialect/FIRRTL/FIRRTLOps.h"
#include "circt/Support/Version.h"
#include "mlir/Support/FileUtilities.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/ToolOutputFile.h"
Include dependency graph for ExportChiselInterface.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "export-chisel-package"
 

Functions

static LogicalResult exportChiselInterface (CircuitOp circuit, llvm::raw_ostream &os)
 Exports a Chisel interface to the output stream. More...
 
static LogicalResult exportSplitChiselInterface (CircuitOp circuit, StringRef outputDirectory)
 Exports Chisel interface files for the circuit to the specified directory. More...
 

Variables

static const unsigned int indentIncrement = 2
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "export-chisel-package"

Definition at line 25 of file ExportChiselInterface.cpp.

Function Documentation

◆ exportChiselInterface()

static LogicalResult exportChiselInterface ( CircuitOp  circuit,
llvm::raw_ostream &  os 
)
static

Exports a Chisel interface to the output stream.

Definition at line 218 of file ExportChiselInterface.cpp.

References circt::getCirctVersionComment().

Referenced by exportSplitChiselInterface().

◆ exportSplitChiselInterface()

static LogicalResult exportSplitChiselInterface ( CircuitOp  circuit,
StringRef  outputDirectory 
)
static

Exports Chisel interface files for the circuit to the specified directory.

Definition at line 248 of file ExportChiselInterface.cpp.

References append(), and exportChiselInterface().

Variable Documentation

◆ indentIncrement

const unsigned int indentIncrement = 2
static

Definition at line 31 of file ExportChiselInterface.cpp.