Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: amaranth-lang/amaranth-boards
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 434702fee6f9
Choose a base ref
...
head repository: amaranth-lang/amaranth-boards
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0e95118062b8
Choose a head ref
  • 2 commits
  • 1 file changed
  • 1 contributor

Commits on Oct 9, 2020

  1. Copy the full SHA
    65fc46c View commit details
  2. Copy the full SHA
    0e95118 View commit details
Showing with 4 additions and 10 deletions.
  1. +4 −10 nmigen_boards/genesys2.py
14 changes: 4 additions & 10 deletions nmigen_boards/genesys2.py
Original file line number Diff line number Diff line change
@@ -24,7 +24,7 @@ def __init__(self, JP6="2V5"):
self._JP6 = JP6

def bank15_16_17_iostandard(self):
return "LVCMOS" + self._JP6
return "LVCMOS" + self._JP6.replace('V', '')

default_rst = "rst"
default_clk = "clk"
@@ -142,15 +142,9 @@ def bank15_16_17_iostandard(self):
attrs=Attrs(IOSTANDARD="LVCMOS33")),
Resource("sd_card_rst", 0,
Pins("AE24", dir="o"), Attrs(IOSTANDARD="LVCMOS33")),
Resource("ulpi", 0,
Subsignal("rst", PinsN("AB14", dir="o")),
Subsignal("clk", Pins("AD18", dir="i")),
Subsignal("d", Pins("AE14 AE15 AC15 AC16 "
"AB15 AA15 AD14 AC14", dir="io")),
Subsignal("dir", Pins("Y16", dir="i")),
Subsignal("stp", Pins("AA17", dir="o")),
Subsignal("nxt", Pins("AA16", dir="i")),
Attrs(IOSTANDARD="LVCMOS18")),
ULPIResource(0, data="AE14 AE15 AC15 AC16 AB15 AA15 AD14 AC14",
rst="AB14", clk="AD18", dir="Y16", stp="AA17", nxt="AA16",
clk_dir="i", rst_invert=True, attrs=Attrs(IOSTANDARD="LVCMOS18")),
Resource("vusb_oc", 0,
PinsN("AF16", dir="i"), Attrs(IOSTANDARD="LVCMOS18")),
Resource("eth_rgmii", 0,