CIRCT  19.0.0git
Public Member Functions | Private Member Functions | List of all members
ConvertComponentOp Struct Reference

ConversionPatterns. More...

Inheritance diagram for ConvertComponentOp:
Inheritance graph
Collaboration diagram for ConvertComponentOp:
Collaboration graph

Public Member Functions

LogicalResult matchAndRewrite (ComponentOp component, OpAdaptor adaptor, ConversionPatternRewriter &rewriter) const override

Private Member Functions

hw::ModulePort::Direction hwDirection (calyx::Direction dir) const

Detailed Description


Definition at line 38 of file CalyxToHW.cpp.

Member Function Documentation

◆ hwDirection()

hw::ModulePort::Direction ConvertComponentOp::hwDirection ( calyx::Direction  dir) const

Definition at line 80 of file CalyxToHW.cpp.

References Input, and Output.

◆ matchAndRewrite()

LogicalResult ConvertComponentOp::matchAndRewrite ( ComponentOp  component,
OpAdaptor  adaptor,
ConversionPatternRewriter &  rewriter 
) const

Definition at line 42 of file CalyxToHW.cpp.

References assert(), sv.WireOp::create(), Input, and Output.

The documentation for this struct was generated from the following file: