CIRCT  19.0.0git
Static Public Member Functions | Static Public Attributes | List of all members
circt::systemc::UIntBaseType Class Reference

Represents a limited word-length unsigned integer in SystemC as described in IEEE 1666-2011 §7.5.3. More...

#include <SystemCTypes.h>

Inheritance diagram for circt::systemc::UIntBaseType:
Inheritance graph
[legend]
Collaboration diagram for circt::systemc::UIntBaseType:
Collaboration graph
[legend]

Static Public Member Functions

static bool classof (Type type)
 
static UIntBaseType get (MLIRContext *context)
 
static constexpr StringLiteral getMnemonic ()
 

Static Public Attributes

static constexpr StringLiteral name = "systemc.uint_base"
 

Detailed Description

Represents a limited word-length unsigned integer in SystemC as described in IEEE 1666-2011 §7.5.3.

The word-length is not known statically, but is constant over the lifetime of the value. The maximum supported bit-width is 64 bits such that it can be stored in native C integers. It is the base class of 'UIntType'.

Definition at line 119 of file SystemCTypes.h.

Member Function Documentation

◆ classof()

static bool circt::systemc::UIntBaseType::classof ( Type  type)
inlinestatic

Definition at line 122 of file SystemCTypes.h.

References circt::esi::detail::getTypeID().

◆ get()

UIntBaseType UIntBaseType::get ( MLIRContext *  context)
static

Definition at line 149 of file SystemCTypes.cpp.

References circt::calyx::direction::get().

Referenced by customTypeParser().

◆ getMnemonic()

static constexpr StringLiteral circt::systemc::UIntBaseType::getMnemonic ( )
inlinestaticconstexpr

Definition at line 127 of file SystemCTypes.h.

Referenced by customTypeParser().

Member Data Documentation

◆ name

constexpr StringLiteral circt::systemc::UIntBaseType::name = "systemc.uint_base"
staticconstexpr

Definition at line 129 of file SystemCTypes.h.


The documentation for this class was generated from the following files: