CIRCT 24.0.0git
Loading...
Searching...
No Matches
circt::calyx::direction Namespace Reference

Functions

Direction get (bool isOutput)
 Returns an output direction if isOutput is true, otherwise returns an input direction.
IntegerAttr packAttribute (MLIRContext *context, size_t nIns, size_t nOuts)
 Returns an IntegerAttr containing the packed representation of the direction counts.

Function Documentation

◆ get()

Direction circt::calyx::direction::get ( bool isOutput)

Returns an output direction if isOutput is true, otherwise returns an input direction.

Definition at line 56 of file CalyxOps.cpp.

◆ packAttribute()

IntegerAttr circt::calyx::direction::packAttribute ( MLIRContext * context,
size_t nIns,
size_t nOuts )

Returns an IntegerAttr containing the packed representation of the direction counts.

Direction::Input is zero, and Direction::Output is one.

Definition at line 60 of file CalyxOps.cpp.

Referenced by buildComponentLike(), and parseComponentSignature().