aboutsummaryrefslogtreecommitdiff
path: root/nmigen_boards/ice40_hx1k_blink_evn.py
diff options
context:
space:
mode:
authorwhitequark <whitequark@whitequark.org>2019-06-12 15:06:18 +0000
committerwhitequark <whitequark@whitequark.org>2019-06-12 15:06:18 +0000
commit755ae9381bfa744ce326d59d972d06ad0dce4681 (patch)
tree6600cd872311ba9a117bfbb8001c45820a911943 /nmigen_boards/ice40_hx1k_blink_evn.py
parentbb52dfb9575c4aabf8e7dd9ddd780bf342ee0a71 (diff)
Use the new active-low PinsN platform feature.
Diffstat (limited to 'nmigen_boards/ice40_hx1k_blink_evn.py')
-rw-r--r--nmigen_boards/ice40_hx1k_blink_evn.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/nmigen_boards/ice40_hx1k_blink_evn.py b/nmigen_boards/ice40_hx1k_blink_evn.py
index 11b454e..ab280a2 100644
--- a/nmigen_boards/ice40_hx1k_blink_evn.py
+++ b/nmigen_boards/ice40_hx1k_blink_evn.py
@@ -27,8 +27,7 @@ class ICE40HX1KBlinkEVNPlatform(LatticeICE40Platform):
Resource("user_btn", 3, Pins("52"), Attrs(IO_STANDARD="SB_LVCMOS33")),
*SPIFlashResources(0,
- cs_n="49", clk="48",
- mosi="45", miso="46",
+ cs="49", clk="48", mosi="45", miso="46",
attrs=Attrs(IO_STANDARD="SB_LVCMOS33")
),
]