xheep_gen.pads.pin module

class xheep_gen.pads.pin.Asignal(name, module=None, attributes=None)

Bases: Pin

Represents a generic analog signal pin.

class xheep_gen.pads.pin.Inout(name, module=None, attributes=None)

Bases: PinDigital

Represents a digital inout pin.

class xheep_gen.pads.pin.Input(name, module=None, attributes=None)

Bases: PinDigital

Represents a digital input pin.

class xheep_gen.pads.pin.Output(name, module=None, attributes=None)

Bases: PinDigital

Represents a digital output pin.

class xheep_gen.pads.pin.Pin(name: str, module: str | None = None, attributes: dict | None = None)

Bases: object

Represents a pin (signal) in the system that can be assigned to a pad.

DEFAULT_MODULE = 'core_v_mini_mcu'
rtl_name() str

Returns the RTL name of the pin including an underscore ‘_’ as suffix. If the pin is active low, the suffix will be ‘_n’ instead.

class xheep_gen.pads.pin.PinDigital(name, module=None, attributes=None)

Bases: Pin

Represents a generic digital pin.

This class will have the digital bondpad and iocell assigned.

bondpad: Cell
iocell: Cell