aboutsummaryrefslogtreecommitdiff
path: root/amaranth_boards/ulx3s.py
diff options
context:
space:
mode:
authorCatherine <whitequark@whitequark.org>2021-12-14 12:30:22 +0000
committerCatherine <whitequark@whitequark.org>2021-12-14 12:49:48 +0000
commit01c506637e75d653f6eb0fc58e54142fd507c3d9 (patch)
treea49edf6d0a24bdeb4483c3b890d2430cb80a7799 /amaranth_boards/ulx3s.py
parentd3e54de8c53bee2dbf5a1d2b969e70a0278af819 (diff)
ulx3s: add missing ADC resource number.
Diffstat (limited to 'amaranth_boards/ulx3s.py')
-rw-r--r--amaranth_boards/ulx3s.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/amaranth_boards/ulx3s.py b/amaranth_boards/ulx3s.py
index ae07b15..cb34171 100644
--- a/amaranth_boards/ulx3s.py
+++ b/amaranth_boards/ulx3s.py
@@ -73,7 +73,7 @@ class _ULX3SPlatform(LatticeECP5Platform):
),
# SPI bus for ADC.
- SPIResource("adc", cs_n="R17", copi="R16", cipo="U16", clk="P17",
+ SPIResource("adc", 0, cs_n="R17", copi="R16", cipo="U16", clk="P17",
attrs=Attrs(IO_TYPE="LVCMOS33", PULLMODE="UP")),
# TRRS audio jack