CIRCT  20.0.0git
Namespaces | Macros | Functions | Variables
ESIServices.cpp File Reference
#include "PassDetails.h"
#include "circt/Dialect/Comb/CombOps.h"
#include "circt/Dialect/ESI/ESIOps.h"
#include "circt/Dialect/ESI/ESIServices.h"
#include "circt/Dialect/ESI/ESITypes.h"
#include "circt/Dialect/HW/HWAttributes.h"
#include "circt/Dialect/HW/HWOps.h"
#include "circt/Dialect/MSFT/MSFTPasses.h"
#include "circt/Dialect/SV/SVOps.h"
#include "circt/Dialect/Seq/SeqOps.h"
#include "circt/Support/BackedgeBuilder.h"
#include "mlir/IR/BuiltinTypes.h"
#include "mlir/IR/ImplicitLocOpBuilder.h"
#include <memory>
#include <utility>
#include "circt/Dialect/ESI/ESIPasses.h.inc"
Include dependency graph for ESIServices.cpp:

Go to the source code of this file.

Namespaces

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

Macros

#define GEN_PASS_DEF_ESICONNECTSERVICES
 

Functions

static LogicalResult instantiateCosimEndpointOps (ServiceImplementReqOp implReq, ServiceDeclOpInterface, ServiceImplRecordOp implRecord)
 The generator for the "cosim" impl_type. More...
 
static LogicalResult instantiateSystemVerilogMemory (ServiceImplementReqOp implReq, ServiceDeclOpInterface decl, ServiceImplRecordOp)
 

Variables

static ServiceGeneratorDispatcher globalDispatcher (DenseMap< StringRef, ServiceGeneratorDispatcher::ServiceGeneratorFunc >{ {"cosim", instantiateCosimEndpointOps}, {"sv_mem", instantiateSystemVerilogMemory}}, false)
 

Macro Definition Documentation

◆ GEN_PASS_DEF_ESICONNECTSERVICES

#define GEN_PASS_DEF_ESICONNECTSERVICES

Definition at line 30 of file ESIServices.cpp.

Function Documentation

◆ instantiateCosimEndpointOps()

static LogicalResult instantiateCosimEndpointOps ( ServiceImplementReqOp  implReq,
ServiceDeclOpInterface  ,
ServiceImplRecordOp  implRecord 
)
static

The generator for the "cosim" impl_type.

Definition at line 44 of file ESIServices.cpp.

References esiaccel.accelerator::ctxt, and circt::calyx::direction::get().

◆ instantiateSystemVerilogMemory()

static LogicalResult instantiateSystemVerilogMemory ( ServiceImplementReqOp  implReq,
ServiceDeclOpInterface  decl,
ServiceImplRecordOp   
)
static

Variable Documentation

◆ globalDispatcher

ServiceGeneratorDispatcher globalDispatcher(DenseMap< StringRef, ServiceGeneratorDispatcher::ServiceGeneratorFunc >{ {"cosim", instantiateCosimEndpointOps}, {"sv_mem", instantiateSystemVerilogMemory}}, false) ( DenseMap< StringRef, ServiceGeneratorDispatcher::ServiceGeneratorFunc >{ {"cosim", instantiateCosimEndpointOps}, {"sv_mem", instantiateSystemVerilogMemory}}  ,
false   
)
static