zuspec-arl-dm 0.1.0.15264414400rc0__cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- zsp_arl_dm/__build_num__.py +1 -0
- zsp_arl_dm/__init__.py +22 -0
- zsp_arl_dm/__version__.py +3 -0
- zsp_arl_dm/core.cpython-310-x86_64-linux-gnu.so +0 -0
- zsp_arl_dm/core.pxd +395 -0
- zsp_arl_dm/decl.pxd +317 -0
- zsp_arl_dm/libzsp-arl-dm.so +0 -0
- zsp_arl_dm/pkginfo.py +23 -0
- zsp_arl_dm/py_val_to_val_ref.py +46 -0
- zsp_arl_dm/share/include/TypeFieldAddrClaim.cpp +39 -0
- zsp_arl_dm/share/include/TypeFieldAddrClaim.h +41 -0
- zsp_arl_dm/share/include/zsp/arl/dm/FactoryExt.h +6 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IAccept.h +28 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IArl.h +30 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IComponentMap.h +41 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IContext.h +443 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IContextDumper.h +47 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IContextLoader.h +40 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IDataTypeAction.h +43 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IDataTypeActivity.h +37 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IDataTypeActivityBind.h +45 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IDataTypeActivityParallel.h +17 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IDataTypeActivityReplicate.h +45 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IDataTypeActivitySchedule.h +25 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IDataTypeActivityScope.h +46 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IDataTypeActivitySequence.h +26 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IDataTypeActivityTraverse.h +33 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IDataTypeActivityTraverseType.h +32 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IDataTypeAddrClaim.h +42 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IDataTypeAddrClaimTransparent.h +42 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IDataTypeAddrHandle.h +44 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IDataTypeAddrSpaceC.h +46 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IDataTypeAddrSpaceTransparentC.h +41 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IDataTypeArlStruct.h +51 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IDataTypeComponent.h +40 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IDataTypeCoreLibComponent.h +44 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IDataTypeFlowObj.h +36 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IDataTypeFunction.h +115 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IDataTypeFunctionImport.h +45 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IDataTypeFunctionParamDecl.h +53 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IDataTypePackedStruct.h +48 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IDataTypePureComponent.h +41 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IDataTypePyObj.h +41 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IDataTypeReg.h +55 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IDataTypeRegGroup.h +40 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IDataTypeResource.h +22 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IDataTypeTransparentAddrSpace.h +44 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IFactory.h +64 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IMarker.h +56 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IModelActivity.h +39 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IModelActivityBind.h +46 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IModelActivityParallel.h +41 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IModelActivityReplicate.h +49 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IModelActivitySchedule.h +30 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IModelActivityScope.h +52 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IModelActivitySequence.h +28 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IModelActivityTraverse.h +53 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IModelBuildContext.h +36 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IModelComponentTreeData.h +92 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IModelEvalIterator.h +72 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IModelEvalIteratorListener.h +62 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IModelEvaluator.h +41 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IModelExec.h +40 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IModelFieldAction.h +34 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IModelFieldClaim.h +43 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IModelFieldComponent.h +32 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IModelFieldComponentRoot.h +51 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IModelFieldExecutor.h +41 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IModelFieldExecutorClaim.h +42 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IModelFieldExecutorGroup.h +50 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IModelFieldInOut.h +44 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IModelFieldPool.h +38 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IModelFieldRegGroup.h +41 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IModelFieldRegGroupRef.h +40 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IModelFieldRegRef.h +41 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IPoolBindDirective.h +33 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IPyImport.h +45 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IRegGroup.h +32 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IRewriteContext.h +44 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IType.h +30 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeAction.h +25 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeExec.h +53 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeExecGroup.h +50 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeExecProc.h +44 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeExecTargetTmpl.h +59 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeExprMethodCallContext.h +45 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeExprMethodCallStatic.h +49 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeExprPureCompMethodCall.h +50 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeExprPyImportRef.h +44 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeExprPythonFieldRef.h +47 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeExprPythonMethodCall.h +47 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeExprPythonModuleRef.h +45 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeExprPythonSubscript.h +40 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeFieldActivity.h +32 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeFieldAddrClaim.h +52 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeFieldAddrClaimTransparent.h +45 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeFieldClaim.h +27 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeFieldExecutor.h +40 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeFieldExecutorClaim.h +41 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeFieldInOut.h +27 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeFieldMethod.h +39 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeFieldPool.h +29 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeFieldReg.h +47 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeFieldRegGroup.h +40 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeFieldRegGroupArr.h +49 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeFieldRegRef.h +41 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeFieldRegVec.h +52 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeModelDumper.h +47 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeProcStmt.h +43 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeProcStmtAssign.h +61 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeProcStmtBreak.h +41 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeProcStmtContinue.h +40 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeProcStmtDeclScope.h +44 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeProcStmtExpr.h +44 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeProcStmtForeach.h +41 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeProcStmtIfClause.h +46 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeProcStmtIfElse.h +53 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeProcStmtMatch.h +53 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeProcStmtMatchChoice.h +48 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeProcStmtRepeat.h +47 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeProcStmtRepeatWhile.h +46 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeProcStmtReturn.h +45 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeProcStmtScope.h +62 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeProcStmtVarDecl.h +50 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeProcStmtWhile.h +47 -0
- zsp_arl_dm/share/include/zsp/arl/dm/ITypeProcStmtYield.h +42 -0
- zsp_arl_dm/share/include/zsp/arl/dm/IVisitor.h +246 -0
- zsp_arl_dm/share/include/zsp/arl/dm/TypeKindE.h +23 -0
- zsp_arl_dm/share/include/zsp/arl/dm/impl/ContextDelegator.h +549 -0
- zsp_arl_dm/share/include/zsp/arl/dm/impl/CopyVisitor.h +204 -0
- zsp_arl_dm/share/include/zsp/arl/dm/impl/IsResourcePool.h +55 -0
- zsp_arl_dm/share/include/zsp/arl/dm/impl/ModelBuildContext.h +52 -0
- zsp_arl_dm/share/include/zsp/arl/dm/impl/ModelEvalIteratorListenerBase.h +60 -0
- zsp_arl_dm/share/include/zsp/arl/dm/impl/RewriteVisitorBase.h +346 -0
- zsp_arl_dm/share/include/zsp/arl/dm/impl/TaskActionHasMemClaim.h +76 -0
- zsp_arl_dm/share/include/zsp/arl/dm/impl/TaskCollectTopLevelActivities.h +63 -0
- zsp_arl_dm/share/include/zsp/arl/dm/impl/TaskFindExecutor.h +69 -0
- zsp_arl_dm/share/include/zsp/arl/dm/impl/TaskGetExprDataType.h +84 -0
- zsp_arl_dm/share/include/zsp/arl/dm/impl/TaskGetSubField.h +98 -0
- zsp_arl_dm/share/include/zsp/arl/dm/impl/TaskGetTypeBitWidth.h +76 -0
- zsp_arl_dm/share/include/zsp/arl/dm/impl/TaskIsDataTypeFlowObj.h +73 -0
- zsp_arl_dm/share/include/zsp/arl/dm/impl/TaskIsDataTypePyObj.h +55 -0
- zsp_arl_dm/share/include/zsp/arl/dm/impl/TaskIsPackedStruct.h +57 -0
- zsp_arl_dm/share/include/zsp/arl/dm/impl/TaskIsRefGroupRef.h +60 -0
- zsp_arl_dm/share/include/zsp/arl/dm/impl/TaskIsTypeFieldRegGroup.h +60 -0
- zsp_arl_dm/share/include/zsp/arl/dm/impl/TaskIsTypeFieldRegGroupArr.h +40 -0
- zsp_arl_dm/share/include/zsp/arl/dm/impl/TaskPackStruct2Int.h +80 -0
- zsp_arl_dm/share/include/zsp/arl/dm/impl/TaskUnpackInt2Struct.h +123 -0
- zsp_arl_dm/share/include/zsp/arl/dm/impl/TaskVisitActionTypeClaimRef.h +70 -0
- zsp_arl_dm/share/include/zsp/arl/dm/impl/TaskVisitModelFieldClaim.h +64 -0
- zsp_arl_dm/share/include/zsp/arl/dm/impl/TaskVisitModelFieldInOut.h +64 -0
- zsp_arl_dm/share/include/zsp/arl/dm/impl/ValRefAction.h +43 -0
- zsp_arl_dm/share/include/zsp/arl/dm/impl/ValRefActivity.h +63 -0
- zsp_arl_dm/share/include/zsp/arl/dm/impl/ValRefActivityScope.h +51 -0
- zsp_arl_dm/share/include/zsp/arl/dm/impl/ValRefPyObj.h +75 -0
- zsp_arl_dm/share/include/zsp/arl/dm/impl/ValRefRegGroup.h +32 -0
- zsp_arl_dm/share/include/zsp/arl/dm/impl/VisitorBase.h +456 -0
- zsp_arl_dm/share/include/zsp/arl/dm/impl/VisitorDelegator.h +356 -0
- zsp_arl_dm/share/include/zsp/arl/dm/loader.h +39 -0
- zsp_arl_dm/val_ref_to_py_val.py +58 -0
- zuspec_arl_dm-0.1.0.15264414400rc0.dist-info/METADATA +25 -0
- zuspec_arl_dm-0.1.0.15264414400rc0.dist-info/RECORD +166 -0
- zuspec_arl_dm-0.1.0.15264414400rc0.dist-info/WHEEL +6 -0
- zuspec_arl_dm-0.1.0.15264414400rc0.dist-info/entry_points.txt +2 -0
- zuspec_arl_dm-0.1.0.15264414400rc0.dist-info/licenses/LICENSE +201 -0
- zuspec_arl_dm-0.1.0.15264414400rc0.dist-info/top_level.txt +1 -0
@@ -0,0 +1 @@
|
|
1
|
+
BUILD_NUM=15264414400
|
zsp_arl_dm/__init__.py
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
|
2
|
+
import os
|
3
|
+
from .val_ref_to_py_val import ValRefToPyVal
|
4
|
+
from .py_val_to_val_ref import PyValToValRef
|
5
|
+
|
6
|
+
def get_deps():
|
7
|
+
return []
|
8
|
+
|
9
|
+
def get_libs():
|
10
|
+
return ["zsp-arl-dm"]
|
11
|
+
|
12
|
+
def get_libdirs():
|
13
|
+
pkg_dir = os.path.dirname(os.path.abspath(__file__))
|
14
|
+
return [pkg_dir]
|
15
|
+
|
16
|
+
def get_incdirs():
|
17
|
+
pkg_dir = os.path.dirname(os.path.abspath(__file__))
|
18
|
+
if os.path.isdir(os.path.join(pkg_dir, "include")):
|
19
|
+
return [os.path.join(pkg_dir, "include")]
|
20
|
+
else:
|
21
|
+
root_dir = os.path.abspath(os.path.join(pkg_dir, "../.."))
|
22
|
+
return [os.path.join(root_dir, "src", "include")]
|
Binary file
|
zsp_arl_dm/core.pxd
ADDED
@@ -0,0 +1,395 @@
|
|
1
|
+
|
2
|
+
import ctypes
|
3
|
+
from typing import List
|
4
|
+
cimport debug_mgr.core as dm_core
|
5
|
+
from zsp_arl_dm cimport decl
|
6
|
+
|
7
|
+
from libc.stdint cimport int32_t
|
8
|
+
from libcpp cimport bool
|
9
|
+
cimport vsc_dm.core as vsc
|
10
|
+
cimport vsc_dm.decl as vsc_decl
|
11
|
+
|
12
|
+
cdef class Factory(object):
|
13
|
+
cdef decl.IFactory *_hndl
|
14
|
+
|
15
|
+
cdef init(self, dm_core.Factory)
|
16
|
+
|
17
|
+
cpdef Context mkContext(self, vsc.Context ctxt=*)
|
18
|
+
|
19
|
+
cdef class Context(vsc.Context):
|
20
|
+
|
21
|
+
cpdef DataTypeAction findDataTypeAction(self, name)
|
22
|
+
cpdef DataTypeFunction findDataTypeFunction(self, name)
|
23
|
+
cpdef DataTypeAction mkDataTypeAction(self, name)
|
24
|
+
# cpdef DataTypeArlStruct mkDataTypeArlStruct(self, name)
|
25
|
+
cpdef DataTypeAddrClaim mkDataTypeAddrClaim(self, name)
|
26
|
+
cpdef DataTypeAddrClaimTransparent mkDataTypeAddrClaimTransparent(self, name)
|
27
|
+
cpdef getDataTypeFunctions(self)
|
28
|
+
cpdef DataTypeActivityParallel mkDataTypeActivityParallel(self)
|
29
|
+
cpdef DataTypeActivityReplicate mkDataTypeActivityReplicate(self, vsc.TypeExpr count)
|
30
|
+
cpdef DataTypeActivitySchedule mkDataTypeActivitySchedule(self)
|
31
|
+
cpdef DataTypeActivitySequence mkDataTypeActivitySequence(self)
|
32
|
+
cpdef bool addDataTypeAction(self, DataTypeAction)
|
33
|
+
cpdef DataTypeActivityTraverse mkDataTypeActivityTraverse(self, vsc.TypeExprFieldRef, vsc.TypeConstraint)
|
34
|
+
cpdef DataTypeAddrClaim mkDataTypeAddrClaim(self, name)
|
35
|
+
cpdef DataTypeAddrClaimTransparent mkDataTypeAddrClaimTransparent(self, name)
|
36
|
+
cpdef DataTypeComponent findDataTypeComponent(self, name)
|
37
|
+
cpdef DataTypeComponent mkDataTypeComponent(self, name)
|
38
|
+
cpdef bool addDataTypeComponent(self, DataTypeComponent comp_t)
|
39
|
+
cpdef DataTypeFlowObj findDataTypeFlowObj(self, name, kind)
|
40
|
+
cpdef DataTypeFlowObj mkDataTypeFlowObj(self, name, kind)
|
41
|
+
cpdef bool addDataTypeFlowObj(self, DataTypeFlowObj obj_t)
|
42
|
+
|
43
|
+
# TODO:
|
44
|
+
# cpdef ModelEvaluator mkModelEvaluator(self)
|
45
|
+
cpdef PoolBindDirective mkPoolBindDirective(self, kind, vsc.TypeExprFieldRef pool, vsc.TypeExprFieldRef target)
|
46
|
+
cpdef TypeFieldActivity mkTypeFieldActivity(self, name, DataTypeActivity, bool)
|
47
|
+
cpdef TypeFieldClaim mkTypeFieldClaim(self, name, vsc.DataType, bool)
|
48
|
+
cpdef TypeFieldInOut mkTypeFieldInOut(self, name, vsc.DataType, bool)
|
49
|
+
cpdef TypeFieldPool mkTypeFieldPool(self, name, vsc.DataType, bool, vsc.TypeFieldAttr, decl_size)
|
50
|
+
|
51
|
+
cdef decl.IContext *asContext(self)
|
52
|
+
|
53
|
+
@staticmethod
|
54
|
+
cdef mk(decl.IContext *ctxt, bool owned=*)
|
55
|
+
|
56
|
+
cdef class DataTypeAction(vsc.DataTypeStruct):
|
57
|
+
|
58
|
+
cpdef DataTypeComponent getComponentType(self)
|
59
|
+
cpdef setComponentType(self, DataTypeComponent)
|
60
|
+
cpdef vsc.TypeFieldRef getCompField(self)
|
61
|
+
cpdef addActivity(self, TypeFieldActivity)
|
62
|
+
cpdef activities(self)
|
63
|
+
|
64
|
+
cdef decl.IDataTypeAction *asAction(self)
|
65
|
+
|
66
|
+
@staticmethod
|
67
|
+
cdef mk(decl.IDataTypeAction *, bool owned=*)
|
68
|
+
|
69
|
+
cdef class DataTypeActivity(object):
|
70
|
+
cdef decl.IDataTypeActivity *_hndl
|
71
|
+
cdef bool _owned
|
72
|
+
|
73
|
+
cdef decl.IDataTypeActivity *asActivity(self)
|
74
|
+
|
75
|
+
@staticmethod
|
76
|
+
cdef mk(decl.IDataTypeActivity *, bool owned=*)
|
77
|
+
|
78
|
+
cdef class DataTypeActivityScope(DataTypeActivity):
|
79
|
+
cpdef name(self)
|
80
|
+
cpdef addField(self, vsc.TypeField f)
|
81
|
+
cpdef getFields(self)
|
82
|
+
cpdef vsc.TypeField getField(self, int32_t idx)
|
83
|
+
cpdef addConstraint(self, vsc.TypeConstraint c)
|
84
|
+
cpdef getConstraints(self)
|
85
|
+
cpdef addActivity(self, TypeFieldActivity)
|
86
|
+
cpdef getActivities(self)
|
87
|
+
cdef decl.IDataTypeActivityScope *asScope(self)
|
88
|
+
|
89
|
+
cdef class DataTypeActivityReplicate(DataTypeActivityScope):
|
90
|
+
cpdef vsc.TypeExpr getCount(self)
|
91
|
+
|
92
|
+
cdef decl.IDataTypeActivityReplicate *asReplicate(self)
|
93
|
+
|
94
|
+
@staticmethod
|
95
|
+
cdef mk(decl.IDataTypeActivityReplicate *hndl, bool owned=*)
|
96
|
+
|
97
|
+
cdef class DataTypeActivityParallel(DataTypeActivityScope):
|
98
|
+
cdef decl.IDataTypeActivityParallel *asParallel(self)
|
99
|
+
|
100
|
+
@staticmethod
|
101
|
+
cdef mk(decl.IDataTypeActivityParallel *hndl, bool owned=*)
|
102
|
+
|
103
|
+
cdef class DataTypeActivitySchedule(DataTypeActivityScope):
|
104
|
+
cdef decl.IDataTypeActivitySchedule *asSchedule(self)
|
105
|
+
|
106
|
+
@staticmethod
|
107
|
+
cdef mk(decl.IDataTypeActivitySchedule *hndl, bool owned=*)
|
108
|
+
|
109
|
+
cdef class DataTypeActivitySequence(DataTypeActivityScope):
|
110
|
+
cdef decl.IDataTypeActivitySequence *asSequence(self)
|
111
|
+
|
112
|
+
@staticmethod
|
113
|
+
cdef mk(decl.IDataTypeActivitySequence *hndl, bool owned=*)
|
114
|
+
|
115
|
+
cdef class DataTypeActivityTraverse(DataTypeActivity):
|
116
|
+
|
117
|
+
cpdef vsc.TypeConstraint getWithC(self)
|
118
|
+
|
119
|
+
cpdef setWithC(self, vsc.TypeConstraint c)
|
120
|
+
|
121
|
+
cdef decl.IDataTypeActivityTraverse *asTraverse(self)
|
122
|
+
|
123
|
+
@staticmethod
|
124
|
+
cdef mk(decl.IDataTypeActivityTraverse *hndl, bool owned=*)
|
125
|
+
|
126
|
+
cdef class DataTypeArlStruct(vsc.DataTypeStruct):
|
127
|
+
cdef decl.IDataTypeArlStruct *asArlStruct(self)
|
128
|
+
|
129
|
+
@staticmethod
|
130
|
+
cdef DataTypeArlStruct mk(decl.IDataTypeArlStruct *, bool owned=*)
|
131
|
+
|
132
|
+
cdef class DataTypeAddrClaim(DataTypeArlStruct):
|
133
|
+
|
134
|
+
cdef decl.IDataTypeAddrClaim *asAddrClaim(self)
|
135
|
+
|
136
|
+
@staticmethod
|
137
|
+
cdef DataTypeAddrClaim mk(decl.IDataTypeAddrClaim *, bool owned=*)
|
138
|
+
|
139
|
+
cdef class DataTypeAddrClaimTransparent(DataTypeAddrClaim):
|
140
|
+
|
141
|
+
cdef decl.IDataTypeAddrClaimTransparent *asAddrClaimTransparent(self)
|
142
|
+
|
143
|
+
@staticmethod
|
144
|
+
cdef DataTypeAddrClaimTransparent mk(decl.IDataTypeAddrClaimTransparent *, bool owned=*)
|
145
|
+
|
146
|
+
cdef class DataTypeAddrHandle(vsc.DataTypeStruct):
|
147
|
+
|
148
|
+
cdef decl.IDataTypeAddrHandle *asAddrHandle(self)
|
149
|
+
|
150
|
+
@staticmethod
|
151
|
+
cdef DataTypeAddrHandle mk(decl.IDataTypeAddrHandle *, bool owned=*)
|
152
|
+
|
153
|
+
|
154
|
+
cdef class DataTypeComponent(vsc.DataTypeStruct):
|
155
|
+
|
156
|
+
cpdef getActionTypes(self)
|
157
|
+
|
158
|
+
cpdef addActionType(self, DataTypeAction action)
|
159
|
+
|
160
|
+
cpdef addPoolBindDirective(self, PoolBindDirective bind)
|
161
|
+
|
162
|
+
cpdef getPoolBindDirectives(self)
|
163
|
+
|
164
|
+
cdef decl.IDataTypeComponent *asComponent(self)
|
165
|
+
|
166
|
+
@staticmethod
|
167
|
+
cdef DataTypeComponent mk(decl.IDataTypeComponent *, bool owned=*)
|
168
|
+
|
169
|
+
cdef class DataTypeFlowObj(vsc.DataTypeStruct):
|
170
|
+
|
171
|
+
cpdef kind(self)
|
172
|
+
|
173
|
+
cdef decl.IDataTypeFlowObj *asFlowObj(self)
|
174
|
+
|
175
|
+
@staticmethod
|
176
|
+
cdef DataTypeFlowObj mk(decl.IDataTypeFlowObj *hndl, bool owned=*)
|
177
|
+
|
178
|
+
|
179
|
+
# cdef class DataTypeFunctionParamDecl(TypeProcStmtVarDecl):
|
180
|
+
|
181
|
+
# cpdef getDirection(self)
|
182
|
+
|
183
|
+
# cdef decl.IDataTypeFunctionParamDecl *asParamDecl(self)
|
184
|
+
|
185
|
+
# @staticmethod
|
186
|
+
# cdef DataTypeFunctionParamDecl mk(decl.IDataTypeFunctionParamDecl *, bool owned=*)
|
187
|
+
|
188
|
+
|
189
|
+
cdef class DataTypeFunction(vsc.ObjBase):
|
190
|
+
|
191
|
+
cpdef name(self)
|
192
|
+
|
193
|
+
cpdef vsc.DataType getReturnType(self)
|
194
|
+
|
195
|
+
cpdef getParameters(self)
|
196
|
+
|
197
|
+
cpdef getFlags(self)
|
198
|
+
|
199
|
+
cpdef bool hasFlags(self, flags)
|
200
|
+
|
201
|
+
cpdef object getAssociatedData(self)
|
202
|
+
|
203
|
+
cpdef void setAssociatedData(self, object obj)
|
204
|
+
|
205
|
+
cdef decl.IDataTypeFunction *asFunction(self)
|
206
|
+
|
207
|
+
@staticmethod
|
208
|
+
cdef DataTypeFunction mk(decl.IDataTypeFunction *hndl, bool owned=*)
|
209
|
+
|
210
|
+
cdef class DataTypePackedStruct(vsc.DataTypeStruct):
|
211
|
+
|
212
|
+
cdef decl.IDataTypePackedStruct *asPacked(self)
|
213
|
+
|
214
|
+
@staticmethod
|
215
|
+
cdef DataTypePackedStruct mk(decl.IDataTypePackedStruct *hndl, bool owned=*)
|
216
|
+
|
217
|
+
cdef class ModelBuildContext(vsc.ModelBuildContext):
|
218
|
+
pass
|
219
|
+
|
220
|
+
|
221
|
+
#cdef class ModelEvaluator(object):
|
222
|
+
# cdef decl.IModelEvaluator *_hndl
|
223
|
+
#
|
224
|
+
# cpdef ModelEvalIterator eval(self,
|
225
|
+
# vsc.RandState randstate,
|
226
|
+
# ModelFieldComponent root_comp,
|
227
|
+
# DataTypeAction root_action)
|
228
|
+
#
|
229
|
+
# @staticmethod
|
230
|
+
# cdef ModelEvaluator mk(decl.IModelEvaluator *)
|
231
|
+
|
232
|
+
cdef class ModelEvalIterator(object):
|
233
|
+
cdef decl.IModelEvalIterator *_hndl
|
234
|
+
|
235
|
+
cpdef bool next(self)
|
236
|
+
cpdef type(self)
|
237
|
+
cpdef ModelFieldAction action(self)
|
238
|
+
cpdef ModelEvalIterator iterator(self)
|
239
|
+
|
240
|
+
@staticmethod
|
241
|
+
cdef ModelEvalIterator mk(decl.IModelEvalIterator *)
|
242
|
+
|
243
|
+
cdef class ModelFieldAction(vsc.ModelField):
|
244
|
+
|
245
|
+
cpdef bool isCompound(self)
|
246
|
+
|
247
|
+
cdef decl.IModelFieldAction *asAction(self)
|
248
|
+
|
249
|
+
@staticmethod
|
250
|
+
cdef ModelFieldAction mk(decl.IModelFieldAction *hndl, bool owned=*)
|
251
|
+
|
252
|
+
cdef class ModelFieldComponent(vsc.ModelField):
|
253
|
+
|
254
|
+
cdef decl.IModelFieldComponent *asComponent(self)
|
255
|
+
|
256
|
+
@staticmethod
|
257
|
+
cdef ModelFieldComponent mk(decl.IModelFieldComponent *, bool owned=*)
|
258
|
+
|
259
|
+
cdef class ModelFieldComponentRoot(ModelFieldComponent):
|
260
|
+
|
261
|
+
cpdef void initCompTree(self)
|
262
|
+
|
263
|
+
cdef decl.IModelFieldComponentRoot *asComponentRoot(self)
|
264
|
+
|
265
|
+
@staticmethod
|
266
|
+
cdef ModelFieldComponentRoot mk(decl.IModelFieldComponentRoot *, bool owned=*)
|
267
|
+
|
268
|
+
cdef class ModelFieldExecutor(vsc.ModelField):
|
269
|
+
|
270
|
+
cdef decl.IModelFieldExecutor *asExecutor(self)
|
271
|
+
|
272
|
+
cdef class ModelFieldPool(vsc.ModelField):
|
273
|
+
|
274
|
+
cdef decl.IModelFieldPool *asPool(self)
|
275
|
+
|
276
|
+
@staticmethod
|
277
|
+
cdef ModelFieldPool mk(decl.IModelFieldPool *hndl, bool owned=*)
|
278
|
+
|
279
|
+
|
280
|
+
cdef class PoolBindDirective(object):
|
281
|
+
cdef decl.IPoolBindDirective *_hndl
|
282
|
+
cdef bool _owned
|
283
|
+
|
284
|
+
cpdef kind(self)
|
285
|
+
|
286
|
+
cpdef vsc.TypeExprFieldRef getPool(self)
|
287
|
+
|
288
|
+
cpdef vsc.TypeExprFieldRef getTarget(self)
|
289
|
+
|
290
|
+
@staticmethod
|
291
|
+
cdef mk(decl.IPoolBindDirective *hndl, bool owned=*)
|
292
|
+
|
293
|
+
cdef class TypeFieldActivity(vsc.TypeField):
|
294
|
+
|
295
|
+
cdef decl.ITypeFieldActivity *asActivity(self)
|
296
|
+
|
297
|
+
@staticmethod
|
298
|
+
cdef TypeFieldActivity mk(decl.ITypeFieldActivity *hndl, bool owned=*)
|
299
|
+
|
300
|
+
cdef class TypeFieldClaim(vsc.TypeField):
|
301
|
+
cpdef bool isLock(self)
|
302
|
+
|
303
|
+
cdef decl.ITypeFieldClaim *asClaim(self)
|
304
|
+
|
305
|
+
@staticmethod
|
306
|
+
cdef TypeFieldClaim mk(decl.ITypeFieldClaim *hndl, bool owned=*)
|
307
|
+
|
308
|
+
cdef class TypeFieldInOut(vsc.TypeField):
|
309
|
+
cpdef bool isInput(self)
|
310
|
+
|
311
|
+
cdef decl.ITypeFieldInOut *asInOut(self)
|
312
|
+
|
313
|
+
@staticmethod
|
314
|
+
cdef TypeFieldInOut mk(decl.ITypeFieldInOut *hndl, bool owned=*)
|
315
|
+
|
316
|
+
cdef class TypeFieldPool(vsc.TypeField):
|
317
|
+
|
318
|
+
cpdef int getDeclSize(self)
|
319
|
+
|
320
|
+
cdef decl.ITypeFieldPool *asPool(self)
|
321
|
+
|
322
|
+
@staticmethod
|
323
|
+
cdef TypeFieldPool mk(decl.ITypeFieldPool *, bool owned=*)
|
324
|
+
|
325
|
+
cdef class TypeFieldReg(vsc.TypeField):
|
326
|
+
|
327
|
+
cpdef int getAddrOffset(self)
|
328
|
+
|
329
|
+
cpdef void setAddrOffset(self, int off)
|
330
|
+
|
331
|
+
cpdef int getWidth(self)
|
332
|
+
|
333
|
+
cdef decl.ITypeFieldReg *asReg(self)
|
334
|
+
|
335
|
+
@staticmethod
|
336
|
+
cdef TypeFieldReg mk(decl.ITypeFieldReg *, bool owned=*)
|
337
|
+
|
338
|
+
cdef class TypeProcStmt(vsc.ObjBase):
|
339
|
+
pass
|
340
|
+
|
341
|
+
cdef class TypeProcStmtVarDecl(TypeProcStmt):
|
342
|
+
|
343
|
+
cpdef str name(self)
|
344
|
+
cpdef vsc.DataType getDataType(self)
|
345
|
+
cpdef vsc.TypeExpr getInit(self)
|
346
|
+
|
347
|
+
cdef decl.ITypeProcStmtVarDecl *asVarDecl(self)
|
348
|
+
|
349
|
+
@staticmethod
|
350
|
+
cdef TypeProcStmtVarDecl mk(decl.ITypeProcStmtVarDecl *, bool owned=*)
|
351
|
+
|
352
|
+
cdef class VisitorBase(vsc.VisitorBase):
|
353
|
+
|
354
|
+
cpdef visitDataTypeAction(self, DataTypeAction t)
|
355
|
+
|
356
|
+
cpdef visitDataTypeArlStruct(self, DataTypeArlStruct t)
|
357
|
+
|
358
|
+
cpdef visitDataTypeAddrClaim(self, DataTypeAddrClaim t)
|
359
|
+
|
360
|
+
cpdef visitDataTypeAddrClaimTransparent(self, DataTypeAddrClaimTransparent t)
|
361
|
+
|
362
|
+
cpdef visitDataTypeAddrHandle(self, DataTypeAddrHandle t)
|
363
|
+
|
364
|
+
cpdef visitDataTypeComponent(self, DataTypeComponent t)
|
365
|
+
|
366
|
+
cpdef visitDataTypeFlowObj(self, DataTypeFlowObj t)
|
367
|
+
|
368
|
+
cpdef visitDataTypeFunction(self, DataTypeFunction t)
|
369
|
+
|
370
|
+
cpdef visitDataTypePackedStruct(self, DataTypePackedStruct t)
|
371
|
+
|
372
|
+
cpdef visitModelFieldAction(self, ModelFieldAction a)
|
373
|
+
|
374
|
+
cpdef visitModelFieldComponent(self, ModelFieldComponent c)
|
375
|
+
|
376
|
+
cpdef visitModelFieldComponentRoot(self, ModelFieldComponentRoot c)
|
377
|
+
|
378
|
+
cpdef visitModelFieldPool(self, ModelFieldPool f)
|
379
|
+
|
380
|
+
cpdef visitTypeFieldReg(self, TypeFieldReg f)
|
381
|
+
|
382
|
+
cdef class WrapperBuilder(VisitorBase):
|
383
|
+
cdef list _obj
|
384
|
+
|
385
|
+
cdef vsc.ObjBase mkObj(self, vsc_decl.IAccept *obj, bool owned)
|
386
|
+
|
387
|
+
cdef _set_obj(self, vsc.ObjBase obj)
|
388
|
+
|
389
|
+
cdef class WrapperBuilderVsc(vsc.WrapperBuilder):
|
390
|
+
cdef WrapperBuilder _core
|
391
|
+
|
392
|
+
cdef vsc.ObjBase mkObj(self, vsc_decl.IAccept *obj, bool owned)
|
393
|
+
|
394
|
+
|
395
|
+
|