CIRCT
20.0.0git
|
Represents a limited word-length signed integer in SystemC as described in IEEE 1666-2011 §7.5.4. More...
#include <SystemCTypes.h>
Public Member Functions | |
unsigned | getWidth () |
Static Public Member Functions | |
static IntType | get (MLIRContext *context, unsigned width) |
static constexpr StringLiteral | getMnemonic () |
Static Public Attributes | |
static constexpr StringLiteral | name = "systemc.int" |
Represents a limited word-length signed integer in SystemC as described in IEEE 1666-2011 §7.5.4.
It is allowed at all places where 'IntBaseType' is allowed as it inherits and preserved all its functionality as described in IEEE 1666-2011 §7.5.4.1. The difference is that the bit-width has to be passed as a template argument and is thus known at compile-time.
Definition at line 101 of file SystemCTypes.h.
|
static |
Definition at line 143 of file SystemCTypes.cpp.
References circt::calyx::direction::get(), and width.
|
inlinestaticconstexpr |
Definition at line 106 of file SystemCTypes.h.
Referenced by customTypeParser().
unsigned IntType::getWidth | ( | ) |
Definition at line 147 of file SystemCTypes.cpp.
|
staticconstexpr |
Definition at line 108 of file SystemCTypes.h.