CIRCT
23.0.0git
Loading...
Searching...
No Matches
lib
Bindings
Python
dialects
esi.py
Go to the documentation of this file.
1
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
2
# See https://llvm.org/LICENSE.txt for license information.
3
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
4
5
from
__future__
import
annotations
6
7
from
.
import
esi
8
from
..
import
ir
9
from
..
import
support
10
from
..
_mlir_libs._circt._esi
import
*
11
from
..dialects._ods_common
import
_cext
as
_ods_cext
12
from
._esi_ops_gen
import
*
13
from
._esi_ops_gen
import
_Dialect
14
from
typing
import
Dict, List, Optional, Sequence, Type
15
16
17
class
ChannelSignaling
:
18
ValidReady = 0
19
FIFO = 1
20
ValidOnly = 2
21
22
23
@_ods_cext.register_operation(_Dialect, replace=True)
24
class
RequestConnectionOp
(
RequestConnectionOp
):
25
26
@property
27
def
clientNamePath
(self) -> List[str]:
28
return
[
29
ir.StringAttr(x).value
30
for
x
in
ir.ArrayAttr(self.attributes[
"clientNamePath"
])
31
]
32
33
34
@_ods_cext.register_operation(_Dialect, replace=True)
35
class
RandomAccessMemoryDeclOp
(
RandomAccessMemoryDeclOp
):
36
37
@property
38
def
innerType
(self):
39
return
ir.TypeAttr(self.attributes[
"innerType"
])
40
41
42
@_ods_cext.register_operation(_Dialect, replace=True)
43
class
ESIPureModuleOp
(
ESIPureModuleOp
):
44
45
def
add_entry_block
(self):
46
if
len(self.body.blocks) > 0:
47
raise
IndexError(
'The module already has an entry block'
)
48
self.body.blocks.append()
49
return
self.body.blocks[0]
esi.ChannelSignaling
Definition
esi.py:17
esi.ESIPureModuleOp
Definition
esi.py:43
esi.ESIPureModuleOp.add_entry_block
add_entry_block(self)
Definition
esi.py:45
esi.RandomAccessMemoryDeclOp
Definition
esi.py:35
esi.RandomAccessMemoryDeclOp.innerType
innerType(self)
Definition
esi.py:38
esi.RequestConnectionOp
Definition
esi.py:24
esi.RequestConnectionOp.clientNamePath
List[str] clientNamePath(self)
Definition
esi.py:27
_esi
Generated on Thu Mar 12 2026 00:10:17 for CIRCT by
1.9.8