|
CIRCT 23.0.0git
|


Classes | |
| class | Field |
| class | Frame |
Public Member Functions | |
| __init__ (self, str id, str name, "ESIType" into_type, "ESIType" lowered_type, List["WindowType.Frame"] frames) | |
| Tuple[bool, Optional[str]] | supports_host (self) |
| Tuple[bool, Optional[str]] | is_valid (self, obj) |
| bytearray | serialize (self, obj) |
| Tuple[object, bytearray] | deserialize (self, bytearray data) |
Public Member Functions inherited from esiaccel.types.ESIType | |
| wrap_cpp (cls, cpp.Type cpp_type) | |
| str | id (self) |
| int | bit_width (self) |
| int | max_size (self) |
| int | __hash__ (self) |
| bool | __eq__ (self, other) |
| str | __str__ (self) |
Public Attributes | |
| name | |
| into_type | |
| lowered_type | |
| frames | |
Public Attributes inherited from esiaccel.types.ESIType | |
| cpp_type | |
| id | |
Protected Member Functions | |
| _init_from_cpp (self, cpp.WindowType cpp_type) | |
Protected Attributes | |
| _HOST_UNSUPPORTED_REASON | |
Static Protected Attributes | |
| tuple | _HOST_UNSUPPORTED_REASON |
| esiaccel.types.WindowType.__init__ | ( | self, | |
| str | id, | ||
| str | name, | ||
| "ESIType" | into_type, | ||
| "ESIType" | lowered_type, | ||
| List["WindowType.Frame"] | frames | ||
| ) |
Reimplemented from esiaccel.types.ESIType.
Definition at line 439 of file types.py.
References esiaccel.types.ArrayType._init_from_cpp(), esiaccel.types.BundleType._init_from_cpp(), esiaccel.types.ChannelType._init_from_cpp(), esiaccel.types.ListType._init_from_cpp(), esiaccel.types.StructType._init_from_cpp(), esiaccel.types.ESIType._init_from_cpp(), esiaccel.types.TypeAlias._init_from_cpp(), esiaccel.types.UnionType._init_from_cpp(), and esiaccel.types.WindowType._init_from_cpp().
Referenced by synth.LongestPathCollection.drop_non_critical_paths(), and synth.LongestPathCollection.merge().
|
protected |
Initialize instance attributes from a C++ type object.
Reimplemented from esiaccel.types.ESIType.
Definition at line 452 of file types.py.
References esiaccel.types.WindowType._init_from_cpp().
Referenced by esiaccel.types.ESIType.__init__(), esiaccel.types.VoidType.__init__(), esiaccel.types.AnyType.__init__(), esiaccel.types.ListType.__init__(), esiaccel.types.ArrayType.__init__(), esiaccel.types.ChannelType.__init__(), esiaccel.types.BitsType.__init__(), esiaccel.types.IntType.__init__(), esiaccel.types.UIntType.__init__(), esiaccel.types.SIntType.__init__(), esiaccel.types.BundleType.__init__(), esiaccel.types.StructType.__init__(), esiaccel.types.UnionType.__init__(), esiaccel.types.TypeAlias.__init__(), esiaccel.types.WindowType.__init__(), and esiaccel.types.WindowType._init_from_cpp().
| Tuple[object, bytearray] esiaccel.types.WindowType.deserialize | ( | self, | |
| bytearray | data | ||
| ) |
Convert a bytearray to a Python object. Return the object and the leftover bytes.
Reimplemented from esiaccel.types.ESIType.
Definition at line 474 of file types.py.
References esiaccel.types.WindowType._HOST_UNSUPPORTED_REASON.
| Tuple[bool, Optional[str]] esiaccel.types.WindowType.is_valid | ( | self, | |
| obj | |||
| ) |
Is a Python object compatible with HW type? Returns either '(True, None)' if it is, or '(False, reason)' if it is not.
Reimplemented from esiaccel.types.ESIType.
Definition at line 468 of file types.py.
References esiaccel.types.WindowType._HOST_UNSUPPORTED_REASON.
| bytearray esiaccel.types.WindowType.serialize | ( | self, | |
| obj | |||
| ) |
Convert a Python object to a bytearray.
Reimplemented from esiaccel.types.ESIType.
Definition at line 471 of file types.py.
References esiaccel.types.WindowType._HOST_UNSUPPORTED_REASON.
| Tuple[bool, Optional[str]] esiaccel.types.WindowType.supports_host | ( | self | ) |
Does this type support host communication via Python? Returns either '(True, None)' if it is, or '(False, reason)' if it is not.
Reimplemented from esiaccel.types.ESIType.
|
staticprotected |
Definition at line 426 of file types.py.
Referenced by esiaccel.types.WindowType.deserialize(), esiaccel.types.WindowType.is_valid(), and esiaccel.types.WindowType.serialize().
|
protected |
Definition at line 466 of file types.py.
Referenced by esiaccel.types.WindowType.deserialize(), esiaccel.types.WindowType.is_valid(), and esiaccel.types.WindowType.serialize().
| esiaccel.types.WindowType.name |
Definition at line 454 of file types.py.
Referenced by esiaccel.types.TypeAlias.__str__().