CIRCT  19.0.0git
Namespaces | Classes | Functions
circt::systemc Namespace Reference

Namespaces

 detail
 

Classes

class  ValueBaseType
 This provides a common base class for all SystemC integers. More...
 
class  IntBaseType
 Represents a limited word-length signed integer in SystemC as described in IEEE 1666-2011 §7.5.2. More...
 
class  IntType
 Represents a limited word-length signed integer in SystemC as described in IEEE 1666-2011 §7.5.4. More...
 
class  UIntBaseType
 Represents a limited word-length unsigned integer in SystemC as described in IEEE 1666-2011 §7.5.3. More...
 
class  UIntType
 Represents a limited word-length unsigned integer in SystemC as described in IEEE 1666-2011 §7.5.5. More...
 
class  SignedType
 Represents a finite word-length signed integer in SystemC as described in IEEE 1666-2011 §7.6.3. More...
 
class  BigIntType
 Represents a finite word-length signed integer in SystemC as described in IEEE 1666-2011 §7.6.5. More...
 
class  UnsignedType
 Represents a finite word-length unsigned integer in SystemC as described in IEEE 1666-2011 §7.6.4. More...
 
class  BigUIntType
 Represents a finite word-length unsigned integer in SystemC as described in IEEE 1666-2011 §7.6.6. More...
 
class  BitVectorBaseType
 Represents a finite word-length bit vector in SystemC as described in IEEE 1666-2011 §7.9.3. More...
 
class  BitVectorType
 Represents a finite word-length bit vector in SystemC as described in IEEE 1666-2011 §7.9.5. More...
 
class  LogicVectorBaseType
 Represents a finite word-length bit vector in SystemC as described in IEEE 1666-2011 §7.9.4. More...
 
class  LogicVectorType
 Represents a finite word-length bit vector (of four-state values) in SystemC as described in IEEE 1666-2011 §7.9.6. More...
 

Functions

void populateSystemCLowerInstanceInteropPatterns (mlir::RewritePatternSet &patterns, mlir::MLIRContext *ctx)
 Populate the rewrite patterns for SystemC's instance-side interop lowerings. More...
 
std::unique_ptr< mlir::Pass > createSystemCLowerInstanceInteropPass ()
 Create the SystemC Lower Interop pass. More...
 
Type getSignalBaseType (Type type)
 Get the type wrapped by a signal or port (in, inout, out) type. More...
 
std::optional< size_t > getBitWidth (Type type)
 Return the bitwidth of a type. More...
 

Function Documentation

◆ createSystemCLowerInstanceInteropPass()

std::unique_ptr< Pass > circt::systemc::createSystemCLowerInstanceInteropPass ( )

Create the SystemC Lower Interop pass.

Definition at line 185 of file SystemCLowerInstanceInterop.cpp.

◆ getBitWidth()

std::optional< size_t > circt::systemc::getBitWidth ( Type  type)

Return the bitwidth of a type.

SystemC types with a dynamic bit-width and unsupported types result in a None return value.

Definition at line 29 of file SystemCTypes.cpp.

◆ getSignalBaseType()

Type circt::systemc::getSignalBaseType ( Type  type)

Get the type wrapped by a signal or port (in, inout, out) type.

Definition at line 22 of file SystemCTypes.cpp.

◆ populateSystemCLowerInstanceInteropPatterns()

void circt::systemc::populateSystemCLowerInstanceInteropPatterns ( mlir::RewritePatternSet &  patterns,
mlir::MLIRContext *  ctx 
)

Populate the rewrite patterns for SystemC's instance-side interop lowerings.