Errors

Specialized errors for Bakeneko gateware related things.

exception bakeneko.types.errors.PCIeGatewareError

Base class for all PCIe gateware errors.

exception bakeneko.types.errors.PCIeUnsupportedLinkSpeed(requested: LinkSpeed, supported: Sequence[LinkSpeed]) None

Raised when the given PHY can not reach the needed link speed.

For instance, if a SerDes PHY only supports up to a 5Gbps link speed, and a request for a 8Gbps link is given, then this error would be raised.

Parameters:
Attributes:
  • requested_speed (bakeneko.types.constants.LinkSpeed) – The requested PCIe link speeds.

  • supported_speeds (Sequence[bakeneko.types.constants.LinkSpeed]) – The supported PCIe link speeds.

exception bakeneko.types.errors.PCIeUnsupportedLinkWidth(requested: LinkWidth, supported: Sequence[LinkWidth]) None

Raised when the given PHY can not fit the given link width.

For instance, if a SerDes PHY only supports up to a x2 link width, and a request for a x4 interface is given, then this error would be raised.

Parameters:
Attributes:
  • requested_width (bakeneko.types.constants.LinkWidth) – The requested PCIe link width.

  • supported_widths (Sequence[bakeneko.types.constants.LinkWidth]) – The supported PCIe link widths.

exception bakeneko.types.errors.PCIeUnsupportedConfiguration(std: PCIeStandard, speed: LinkSpeed, width: LinkWidth) None

Raised when an incompatible PCIe configuration is provided.

For example, if a PCIe configuration with the standard version of v2, but with a link speed of 16 GT/s.

Parameters:
  • std (bakeneko.types.constants.PCIeStandard) – The version of the PCIe standard.

  • speed (bakeneko.types.constants.LinkSpeed.) – The PCIe link speed.

  • width (bakeneko.types.constants.LinkWidth.) – The PCIe link width.

Attributes:
  • pcie_standard (bakeneko.types.constants.PCIeStandard) – The version of the PCIe standard.

  • link_speed (bakeneko.types.constants.LinkSpeed.) – The PCIe link speed.

  • link_width (bakeneko.types.constants.LinkWidth.) – The PCIe link width.

exception bakeneko.types.errors.PIPEInterfaceError

Subset of PCIe Gateware errors specific to construction of the PIPE interface.