Skip to content

Commit

Permalink
squishy: gateware: platform: rev2 Fixed some silly mistakes due to ha…
Browse files Browse the repository at this point in the history
…ving written the code at like 2AM and being very sleepy
  • Loading branch information
lethalbit committed Jun 16, 2024
1 parent 39278ee commit b324401
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions squishy/gateware/platform/rev2.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ class SquishyRev2(SquishyPlatform, ECP5Platform):
Subsignal('su_attn', Pins('W1', dir = 'o')),
Subsignal('dfu_trg', PinsN('V1', dir = 'o')),

attrs = Attrs(IO_TYPE = 'LVCMOS33')
Attrs(IO_TYPE = 'LVCMOS33')
),

# Status LEDs
Expand All @@ -134,7 +134,7 @@ class SquishyRev2(SquishyPlatform, ECP5Platform):
Subsignal('rwds', Pins('H18', dir = 'io')),
Subsignal('rst', Pins('D17', dir = 'o')),

attrs = Attrs(IO_TYPE = 'LVCMOS18', SLEWRATE = 'FAST')
Attrs(IO_TYPE = 'LVCMOS18', SLEWRATE = 'FAST')
),

ULPIResource('usb2', 0,
Expand All @@ -154,7 +154,7 @@ class SquishyRev2(SquishyPlatform, ECP5Platform):
# Errata: The schematic has a typo calling it `PD_SCA` rather than `PD_SDA`
Subsignal('sda', Pins('N17', dir = 'io')),
Subsignal('pol', Pins('N18', dir = 'o')),
attrs = Attrs(IO_TYPE = 'LVCMOS33')
Attrs(IO_TYPE = 'LVCMOS33')
),

# This will be replaced with a proper Squishy SCSI-PHY resource eventually:tm:
Expand All @@ -180,15 +180,15 @@ class SquishyRev2(SquishyPlatform, ECP5Platform):
# This /might/ go better with the ADC?
Subsignal('pwr_en', PinsN('H2', dir = 'o')),

attrs = Attrs(IO_TYPE = 'LVCMOS33', SLEWRATE = 'FAST')
Attrs(IO_TYPE = 'LVCMOS33', SLEWRATE = 'FAST')
),

# SCSI PHY Current ADC
Resource('phy_adc', 0,
Subsignal('clk', Pins('F1', dir = 'o')),
Subsignal('dat', Pins('G2', dir = 'i')),
Subsignal('chan', Pins('G1', dir = 'o')),
attrs = Attrs(IO_TYPE = 'LVCMOS33')
Attrs(IO_TYPE = 'LVCMOS33')
),
]

Expand Down

0 comments on commit b324401

Please sign in to comment.