main.pxd.in 902 B

12345678910111213141516171819202122
  1. from awlsim.common.cython_support cimport *
  2. from awlsim.core.hardware cimport *
  3. cdef class HardwareInterface_Debug(AbstractHardwareInterface):
  4. cdef public uint32_t __startupErrorRate
  5. cdef public uint32_t __startupErrorCount
  6. cdef public uint32_t __shutdownErrorRate
  7. cdef public uint32_t __shutdownErrorCount
  8. cdef public uint32_t __inputErrorRate
  9. cdef public uint32_t __inputErrorCount
  10. cdef public uint32_t __outputErrorRate
  11. cdef public uint32_t __outputErrorCount
  12. cdef public uint32_t __directReadErrorRate
  13. cdef public uint32_t __directReadErrorCount
  14. cdef public uint32_t __directWriteErrorRate
  15. cdef public uint32_t __directWriteErrorCount
  16. cdef readInputs(self)
  17. cdef writeOutputs(self)
  18. cdef bytearray directReadInput(self, uint32_t accessWidth, uint32_t accessOffset)
  19. cdef ExBool_t directWriteOutput(self, uint32_t accessWidth, uint32_t accessOffset, bytearray data) except ExBool_val