Skip to content

Commit

Permalink
Add serdes resources to Versa ECP5 boards
Browse files Browse the repository at this point in the history
  • Loading branch information
eibach committed Feb 17, 2025
1 parent 6e01882 commit f9d8fff
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions amaranth_boards/versa_ecp5.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,16 @@ class VersaECP5Platform(LatticeECP5Platform):
Resource("pclk", 0, DiffPairs("A4", "A5", dir="i"),
Attrs(IO_TYPE="LVDS")),

# SerDes connections.
Resource("serdes", 0,
Subsignal("rx", DiffPairs("Y5", "Y6")),
Subsignal("tx", DiffPairs("W4", "W5")),
),
Resource("serdes", 1,
Subsignal("rx", DiffPairs("Y8", "Y7")),
Subsignal("tx", DiffPairs("W8", "W9")),
),

*LEDResources(pins="E16 D17 D18 E18 F17 F18 E17 F16", invert=True,
attrs=Attrs(IO_TYPE="LVCMOS25")),

Expand Down

0 comments on commit f9d8fff

Please sign in to comment.