blob: 087b8a675ae31bcae78f9c00f2fcc819c5cbeea7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
from awlsim.common.cython_support cimport *
from awlsim.core.blocks cimport *
from awlsim.core.cpu cimport *
cdef class SystemBlock(StaticCodeBlock):
cdef public S7CPU cpu
cdef public dict __interfaceOpers
cdef public uint32_t __widthMaskAll
cdef AwlMemoryObject fetchInterfaceFieldByName(self, object name) except NULL
cdef storeInterfaceFieldByName(self, object name, AwlMemoryObject value)
cpdef run(self)
cdef class SFB(SystemBlock):
pass
cdef class SFC(SystemBlock):
pass
|