CIRCT  19.0.0git
Namespaces | Macros | Functions
FSMToSV.cpp File Reference
#include "circt/Conversion/FSMToSV.h"
#include "circt/Dialect/Comb/CombOps.h"
#include "circt/Dialect/Emit/EmitOps.h"
#include "circt/Dialect/FSM/FSMOps.h"
#include "circt/Dialect/HW/HWOps.h"
#include "circt/Dialect/SV/SVOps.h"
#include "circt/Dialect/Seq/SeqOps.h"
#include "circt/Support/BackedgeBuilder.h"
#include "mlir/Pass/Pass.h"
#include "mlir/Transforms/RegionUtils.h"
#include "llvm/ADT/TypeSwitch.h"
#include <memory>
#include <variant>
#include "circt/Conversion/Passes.h.inc"
Include dependency graph for FSMToSV.cpp:

Go to the source code of this file.

Namespaces

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

Macros

#define GEN_PASS_DEF_CONVERTFSMTOSV
 

Functions

static ClkRstIdxs getMachinePortInfo (SmallVectorImpl< hw::PortInfo > &ports, MachineOp machine, OpBuilder &b)
 
static void cloneConstantsIntoRegion (Region &region, OpBuilder &builder)
 

Macro Definition Documentation

◆ GEN_PASS_DEF_CONVERTFSMTOSV

#define GEN_PASS_DEF_CONVERTFSMTOSV

Definition at line 25 of file FSMToSV.cpp.

Function Documentation

◆ cloneConstantsIntoRegion()

static void cloneConstantsIntoRegion ( Region &  region,
OpBuilder &  builder 
)
static

Definition at line 68 of file FSMToSV.cpp.

References builder.

◆ getMachinePortInfo()

static ClkRstIdxs getMachinePortInfo ( SmallVectorImpl< hw::PortInfo > &  ports,
MachineOp  machine,
OpBuilder &  b 
)
static

Definition at line 40 of file FSMToSV.cpp.

References circt::calyx::direction::get(), and Input.