Skip to content

Commit a082d97

Browse files
authored
Merge pull request #254 from antoinevg/antoinevg/fix-builds
gateware: add missing chirp resources for earlier cynthion revisions
2 parents 68e58e7 + 2b92146 commit a082d97

File tree

6 files changed

+12
-0
lines changed

6 files changed

+12
-0
lines changed

cynthion/python/src/gateware/platform/cynthion_r0_6.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ class CynthionPlatformRev0D6(CynthionPlatform):
107107
Resource("target_usb_diff", 0, DiffPairs("N4", "P3", dir="i"), Attrs(IO_TYPE="LVDS", PULLMODE="NONE")),
108108
Resource("target_usb_dp", 0, Pins("N4", dir="i"), Attrs(IO_TYPE="LVCMOS33", PULLMODE="NONE")),
109109
Resource("target_usb_dm", 0, Pins("P3", dir="i"), Attrs(IO_TYPE="LVCMOS33", PULLMODE="NONE")),
110+
Resource("target_usb_dp_chirp", 0, Pins("N4", dir="i"), Attrs(IO_TYPE="LVCMOS12", PULLMODE="NONE")),
111+
Resource("target_usb_dm_chirp", 0, Pins("P3", dir="i"), Attrs(IO_TYPE="LVCMOS12", PULLMODE="NONE")),
110112

111113
# USB Type-C controllers and pins
112114
Resource("target_type_c", 0,

cynthion/python/src/gateware/platform/cynthion_r0_7.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ class CynthionPlatformRev0D7(CynthionPlatform):
107107
Resource("target_usb_diff", 0, DiffPairs("N4", "P3", dir="i"), Attrs(IO_TYPE="LVDS", PULLMODE="NONE")),
108108
Resource("target_usb_dp", 0, Pins("N4", dir="i"), Attrs(IO_TYPE="LVCMOS33", PULLMODE="NONE")),
109109
Resource("target_usb_dm", 0, Pins("P3", dir="i"), Attrs(IO_TYPE="LVCMOS33", PULLMODE="NONE")),
110+
Resource("target_usb_dp_chirp", 0, Pins("N4", dir="i"), Attrs(IO_TYPE="LVCMOS12", PULLMODE="NONE")),
111+
Resource("target_usb_dm_chirp", 0, Pins("P3", dir="i"), Attrs(IO_TYPE="LVCMOS12", PULLMODE="NONE")),
110112

111113
# USB Type-C controllers and pins
112114
Resource("target_type_c", 0,

cynthion/python/src/gateware/platform/cynthion_r1_0.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ class CynthionPlatformRev1D0(CynthionPlatform):
107107
Resource("target_usb_diff", 0, DiffPairs("N4", "P3", dir="i"), Attrs(IO_TYPE="LVDS", PULLMODE="NONE")),
108108
Resource("target_usb_dp", 0, Pins("N4", dir="i"), Attrs(IO_TYPE="LVCMOS33", PULLMODE="NONE")),
109109
Resource("target_usb_dm", 0, Pins("P3", dir="i"), Attrs(IO_TYPE="LVCMOS33", PULLMODE="NONE")),
110+
Resource("target_usb_dp_chirp", 0, Pins("N4", dir="i"), Attrs(IO_TYPE="LVCMOS12", PULLMODE="NONE")),
111+
Resource("target_usb_dm_chirp", 0, Pins("P3", dir="i"), Attrs(IO_TYPE="LVCMOS12", PULLMODE="NONE")),
110112

111113
# USB Type-C controllers and pins
112114
Resource("target_type_c", 0,

cynthion/python/src/gateware/platform/cynthion_r1_1.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ class CynthionPlatformRev1D1(CynthionPlatform):
107107
Resource("target_usb_diff", 0, DiffPairs("N4", "P3", dir="i"), Attrs(IO_TYPE="LVDS", PULLMODE="NONE")),
108108
Resource("target_usb_dp", 0, Pins("N4", dir="i"), Attrs(IO_TYPE="LVCMOS33", PULLMODE="NONE")),
109109
Resource("target_usb_dm", 0, Pins("P3", dir="i"), Attrs(IO_TYPE="LVCMOS33", PULLMODE="NONE")),
110+
Resource("target_usb_dp_chirp", 0, Pins("N4", dir="i"), Attrs(IO_TYPE="LVCMOS12", PULLMODE="NONE")),
111+
Resource("target_usb_dm_chirp", 0, Pins("P3", dir="i"), Attrs(IO_TYPE="LVCMOS12", PULLMODE="NONE")),
110112

111113
# USB Type-C controllers and pins
112114
Resource("target_type_c", 0,

cynthion/python/src/gateware/platform/cynthion_r1_2.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,8 @@ class CynthionPlatformRev1D2(CynthionPlatform):
119119
Resource("target_usb_diff", 0, DiffPairs("N4", "P3", dir="i"), Attrs(IO_TYPE="LVDS", PULLMODE="NONE")),
120120
Resource("target_usb_dp", 0, Pins("N4", dir="i"), Attrs(IO_TYPE="LVCMOS33", PULLMODE="NONE")),
121121
Resource("target_usb_dm", 0, Pins("P3", dir="i"), Attrs(IO_TYPE="LVCMOS33", PULLMODE="NONE")),
122+
Resource("target_usb_dp_chirp", 0, Pins("N4", dir="i"), Attrs(IO_TYPE="LVCMOS12", PULLMODE="NONE")),
123+
Resource("target_usb_dm_chirp", 0, Pins("P3", dir="i"), Attrs(IO_TYPE="LVCMOS12", PULLMODE="NONE")),
122124

123125
# USB Type-C controllers and pins
124126
Resource("target_type_c", 0,

cynthion/python/src/gateware/platform/cynthion_r1_3.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,8 @@ class CynthionPlatformRev1D3(CynthionPlatform):
119119
Resource("target_usb_diff", 0, DiffPairs("N4", "P3", dir="i"), Attrs(IO_TYPE="LVDS", PULLMODE="NONE")),
120120
Resource("target_usb_dp", 0, Pins("N4", dir="i"), Attrs(IO_TYPE="LVCMOS33", PULLMODE="NONE")),
121121
Resource("target_usb_dm", 0, Pins("P3", dir="i"), Attrs(IO_TYPE="LVCMOS33", PULLMODE="NONE")),
122+
Resource("target_usb_dp_chirp", 0, Pins("N4", dir="i"), Attrs(IO_TYPE="LVCMOS12", PULLMODE="NONE")),
123+
Resource("target_usb_dm_chirp", 0, Pins("P3", dir="i"), Attrs(IO_TYPE="LVCMOS12", PULLMODE="NONE")),
122124

123125
# USB Type-C controllers and pins
124126
Resource("target_type_c", 0,

0 commit comments

Comments
 (0)