squishy.gateware.platform.resources

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

amaranth.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: Optional[Tuple[str, str]] = None, dp1: Optional[Tuple[str, str]] = None, scsi_id: Optional[Tuple[str, str]] = None, led: Optional[Tuple[str, str]] = None, spindle: Optional[Tuple[str, str]] = None, rmt: Optional[Tuple[str, str]] = None, dlyd: Optional[Tuple[str, str]] = None, attrs: Optional[Attrs] = 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

amaranth.build.dsl.Resource