aboutsummaryrefslogtreecommitdiffstats
path: root/awlsim/core/systemblocks/systemblocks.pxd.in
blob: 8e82430e8e1555e361714cc240887e199ae0907a (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 object fetchInterfaceFieldByName(self, object name)
	cdef storeInterfaceFieldByName(self, object name, object value)

	cpdef run(self)

cdef class SFB(SystemBlock):
	pass

cdef class SFC(SystemBlock):
	pass
bues.ch cgit interface