aboutsummaryrefslogtreecommitdiffstats
path: root/awlsimhw_debug/main.pxd.in
blob: 992b593bac455b7722a0b521779abfe7a99e1d06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
from awlsim.common.cython_support cimport *
from awlsim.core.hardware cimport *

cdef class HardwareInterface_Debug(AbstractHardwareInterface):
	cdef public uint32_t __startupErrorRate
	cdef public uint32_t __startupErrorCount
	cdef public uint32_t __shutdownErrorRate
	cdef public uint32_t __shutdownErrorCount
	cdef public uint32_t __inputErrorRate
	cdef public uint32_t __inputErrorCount
	cdef public uint32_t __outputErrorRate
	cdef public uint32_t __outputErrorCount
	cdef public uint32_t __directReadErrorRate
	cdef public uint32_t __directReadErrorCount
	cdef public uint32_t __directWriteErrorRate
	cdef public uint32_t __directWriteErrorCount

	cdef readInputs(self)
	cdef writeOutputs(self)
	cdef bytearray directReadInput(self, uint32_t accessWidth, uint32_t accessOffset)
	cdef ExBool_t directWriteOutput(self, uint32_t accessWidth, uint32_t accessOffset, bytearray data) except ExBool_val
bues.ch cgit interface