HWIO

HWIO#

The PyRAL runtime library provides several built-in HWIO classes that you can use

Class

Description

HWIO

Abstract base class for all HWIO implementations. If you want to build your own HWIO, extend from this.

DemoHWIO

Demonstration HWIO implementation for testing purposes. Does not require any actual hardware.

MirroredHWIOWrapper

HWIO wrapper class that allows you to manipulate registers though a mirrored the state of hardware.

CallbackHWIO

Pass your own existing read/write methods to this callback wrapper.

MMapFileHWIO

If you have a device file that maps to your peripheral (like a UIO Device)

MMapMemHWIO

If you want to manually map to a sub-region of /dev/mem using a physical address and region size

OpenOCDHWIO

Connect to a device using an OpenOCD debugger.