CIRCT 22.0.0git
|
Public Member Functions | |
__init__ (self, str id, int width) | |
int | bit_width (self) |
![]() | |
wrap_cpp (cls, cpp.Type cpp_type) | |
Tuple[bool, Optional[str]] | supports_host (self) |
Tuple[bool, Optional[str]] | is_valid (self, obj) |
int | max_size (self) |
bytearray | serialize (self, obj) |
Tuple[object, bytearray] | deserialize (self, bytearray data) |
str | __str__ (self) |
Additional Inherited Members | |
![]() | |
cpp_type | |
![]() | |
_init_from_cpp (self, cpp.Type cpp_type) | |
esiaccel.types.IntType.__init__ | ( | self, | |
str | id, | ||
int | width | ||
) |
Reimplemented from esiaccel.types.ESIType.
Reimplemented in esiaccel.types.UIntType, and esiaccel.types.SIntType.
Definition at line 161 of file types.py.
References esiaccel.types.ArrayType._init_from_cpp(), esiaccel.types.StructType._init_from_cpp(), and esiaccel.types.ESIType._init_from_cpp().
int esiaccel.types.IntType.bit_width | ( | self | ) |
Size of this type, in bits. Negative for unbounded types.
Reimplemented from esiaccel.types.ESIType.
Definition at line 165 of file types.py.
References esiaccel.types.ESIType.cpp_type.
Referenced by esiaccel.types.UIntType.is_valid(), esiaccel.types.SIntType.is_valid(), esiaccel.types.ESIType.max_size(), and esiaccel.types.ESIType.supports_host().