summaryrefslogtreecommitdiffstats
path: root/awlsim/core/hardware.pxd.in
blob: ebd9a39d4953610905421f64349609da7fbe5162 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
from awlsim.core.main cimport *

cdef class AbstractHardwareInterface(object):
	cdef public AwlSim sim
	cdef public _Bool __running
	cdef public uint32_t inputAddressBase
	cdef public uint32_t outputAddressBase
	cdef public dict __paramsByName
	cdef public dict __paramsByDescType

	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