aboutsummaryrefslogtreecommitdiff
path: root/nmigen_boards/genesys2.py
diff options
context:
space:
mode:
authorECP5-PCIe <65254322+ECP5-PCIe@users.noreply.github.com>2020-07-16 10:22:51 +0200
committerGitHub <noreply@github.com>2020-07-16 08:22:51 +0000
commit19cf06052230831e6d899aa3cf71539fe746a43e (patch)
tree6d138b34c46a822239879d31fc9d99b4e15b7a52 /nmigen_boards/genesys2.py
parent83d9ecdd47e6610ea71037e155a8e2fd51f9f19c (diff)
[breaking-change] Update SPI pin names.
The new names follow the OSHWA convention described at: https://www.oshwa.org/a-resolution-to-redefine-spi-signal-names/
Diffstat (limited to 'nmigen_boards/genesys2.py')
-rw-r--r--nmigen_boards/genesys2.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/nmigen_boards/genesys2.py b/nmigen_boards/genesys2.py
index 66525fd..b23976f 100644
--- a/nmigen_boards/genesys2.py
+++ b/nmigen_boards/genesys2.py
@@ -99,8 +99,8 @@ class Genesys2Platform(Xilinx7SeriesPlatform):
Resource("audio_clk", 0, # ADAU1761 MCLK
Pins("AK19", dir="o"), Attrs(IOSTANDARD="LVCMOS18")),
SPIResource(0, # OLED, SSD1306, 128 x 32
- cs="dummy-cs0", clk="AF17", mosi="Y15",
- miso="dummy-miso0", reset="AB17",
+ cs="dummy-cs0", clk="AF17", copi="Y15",
+ cipo="dummy-cipo0", reset="AB17",
attrs=Attrs(IOSTANDARD="LVCMOS18")),
Resource("oled", 0, # OLED, UG-2832HSWEG04
Subsignal("dc", Pins("AC17", dir="o")),