squishy.gateware.platform.resources

squishy.gateware.platform.resources.scsi.SCSIConnectorResource(*args, diff: bool, ack: str | Tuple[str, str], atn: str | Tuple[str, str], bsy: str | Tuple[str, str], cd: str | Tuple[str, str], io: str | Tuple[str, str], msg: str | Tuple[str, str], sel: str | Tuple[str, str], req: str | Tuple[str, str], rst: str | Tuple[str, str], diff_sense: str, d0: str | Tuple[str, str], dp0: str | Tuple[str, str], d1: str | Tuple[str, str] | None = None, dp1: str | Tuple[str, str] | None = None, scsi_id: str | None = None, led: str | None = None, spindle: str | None = None, rmt: str | None = None, dlyd: str | None = None, dir: Literal['i', 'o', 'io'] = 'io', attrs: Attrs | None = None) Resource

Represents a raw SCSI connector

Parameters:
  • diff (bool) – If the SCSI connector is Differential.

  • ack (str, tuple[str, str]) – The pin or pins for the SCSI ACK signal.

  • atn (str, tuple[str, str]) – The pin or pins for the SCSI ATN signal.

  • bsy (str, tuple[str, str]) – The pin or pins for the SCSI BSY signal.

  • cd (str, tuple[str, str]) – The pin or pins for the SCSI CD signal.

  • io (str, tuple[str, str]) – The pin or pins for the SCSI IO signal.

  • msg (str, tuple[str, str]) – The pin or pins for the SCSI MSG signal.

  • req (str, tuple[str, str]) – The pin or pins for the SCSI REQ signal.

  • rst (str, tuple[str, str]) – The pin or pins for the SCSI RST signal.

  • diff_sense (str) – The SCSI differential sense pin.

  • d0 (str, tuple[str, str]) – The pin set or set of pin sets for the first SCSI data byte lines.

  • dp0 (str, tuple[str, str]) – The pin or pins for the first SCSI data byte parity bit.

  • d1 (str, tuple[str, str]) – The pin set or set of pin sets for the second SCSI data byte lines.

  • dp1 (str, tuple[str, str]) – The pin or pins for the second SCSI data byte parity bit.

  • scsi_id (str) – The pin set of set of pin sets for the dedicated SCSI_ID pins.

  • led (str) – The SCSI bus LED signal pin.

  • spindle (str) – The SCSI spindle signal pin.

  • rmt (str) – The SCSI RMT signal pin.

  • dlyd (str) – The SCSI dlyd signal pin.

  • dir (str) – The direction of the SCSI connector pins, defaults to ‘io’

Returns:

The SCSI Connector Resource

Return type:

torii.build.dsl.Resource

squishy.gateware.platform.resources.scsi.SCSIDifferentialResource(*args, **kwargs) SCSIConnectorResource

Constructs an explicitly differential SCSIConnectorResource()

squishy.gateware.platform.resources.scsi.SCSISingleEndedResource(*args, **kwargs) SCSIConnectorResource

Constructs an explicitly single-ended SCSIConnectorResource()

squishy.gateware.platform.resources.scsi.SCSIPhyResource(*args, ack: Tuple[str, str], atn: Tuple[str, str], bsy: Tuple[str, str], cd: Tuple[str, str], io: Tuple[str, str], msg: Tuple[str, str], sel: Tuple[str, str], req: Tuple[str, str], rst: Tuple[str, str], d0: Tuple[str, str], dp0: Tuple[str, str], tp_en: str, tx_en: str, aa_en: str, bsy_en: str, sel_en: str, mr_en: str, diff_sense: str, d1: Tuple[str, str] | None = None, dp1: Tuple[str, str] | None = None, scsi_id: Tuple[str, str] | None = None, led: Tuple[str, str] | None = None, spindle: Tuple[str, str] | None = None, rmt: Tuple[str, str] | None = None, dlyd: Tuple[str, str] | None = None, attrs: Attrs | None = None) Resource

Represents a Squishy SCSI PHY Resource

Parameters:
  • ack (tuple[str, str]) – The pins for the SCSI ACK tx and rx signals.

  • atn (tuple[str, str]) – The pins for the SCSI ATN tx and rx signals.

  • bsy (tuple[str, str]) – The pins for the SCSI BSY tx and rx signals.

  • cd (tuple[str, str]) – The pins for the SCSI CD tx and rx signals.

  • io (tuple[str, str]) – The pins for the SCSI IO tx and rx signals.

  • msg (tuple[str, str]) – The pins for the SCSI MSG tx and rx signals.

  • sel (tuple[str, str]) – The pins for the SCSI SEL tx and rx signals.

  • req (tuple[str, str]) – The pins for the SCSI REQ tx and rx signals.

  • rst (tuple[str, str]) – The pins for the SCSI RST tx and rx signals.

  • d0 (tuple[str, str]) – The pins for the SCSI data byte one tx and rx signals.

  • dp0 (tuple[str, str]) – The pins for the SCSI data byte one parity tx and rx signals.

  • tp_en (str) – The enable pin for the TP portion of the PHY.

  • tx_en (str) – The enable pin for the TX portion of the PHY.

  • aa_en (str) – The enable pin for the AA portion of the PHY.

  • bsy_en (str) – The enable pin for the BSY portion of the PHY.

  • sel_en (str) – The enable pin for the SEL portion of the PHY.

  • mr_en (str) – The enable pin for the MSG/REQ portion of the PHY.

  • diff_sense (str) – The SCSI bus DIFF_SENSE pin.

Returns:

The SCSI Connector Resource

Return type:

torii.build.dsl.Resource