hwt.hwIOs package

This package contains primitive hardware interfaces.

Subpackages

Submodules

hwt.hwIOs.hwIOArray module

hwt.hwIOs.hwIODifferential module

hwt.hwIOs.hwIOStruct module

hwt.hwIOs.hwIOTristate module

hwt.hwIOs.hwIOUnion module

hwt.hwIOs.hwIO_map module

hwt.hwIOs.signalOps module

class hwt.hwIOs.signalOps.SignalOps[source]

Bases: object

Operands for Signal interface, These operands are delegated on RtlSignal object for this interface

_auto_cast(toT: HdlType)[source]
_cast_sign(signed: bool | None)[source]
_concat(*others)[source]

concatenate signals to one big one

_eq(other)[source]

Equality operator “==” is not used because it would damage python ecosystem

_explicit_cast(toT: HdlType)[source]
_isOn()[source]

convert this signal to 1 bit value which is 1 if the value is considered active (1 if not negated 0 if negated)

_onFallingEdge()[source]
_onRisingEdge()[source]
_reinterpret_cast(toT: HdlType)[source]
_reversed()[source]

reverse bitorder

_signed()[source]
_ternary(ifTrue, ifFalse)[source]
_unsigned()[source]
_vec()[source]
getMsb()[source]

hwt.hwIOs.std module

hwt.hwIOs.std_ip_defs module

hwt.hwIOs.utils module