aboutsummaryrefslogtreecommitdiff
path: root/nmigen_boards/ice40_hx1k_blink_evn.py
diff options
context:
space:
mode:
authorwhitequark <whitequark@whitequark.org>2019-08-30 08:39:30 +0000
committerwhitequark <whitequark@whitequark.org>2019-08-30 08:43:02 +0000
commit3b80b3a3749ae8f123ff258a25e81bd21412aed4 (patch)
treebda8711d0aa6df104b0c52192e2b8b3db3d76a86 /nmigen_boards/ice40_hx1k_blink_evn.py
parentb40277c21ac099ec3d3cd89d6c2756957f1223f9 (diff)
Update iCE40 GLOBAL and PULLUP attribute to use correct types.
Diffstat (limited to 'nmigen_boards/ice40_hx1k_blink_evn.py')
-rw-r--r--nmigen_boards/ice40_hx1k_blink_evn.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nmigen_boards/ice40_hx1k_blink_evn.py b/nmigen_boards/ice40_hx1k_blink_evn.py
index a3233b9..1504b15 100644
--- a/nmigen_boards/ice40_hx1k_blink_evn.py
+++ b/nmigen_boards/ice40_hx1k_blink_evn.py
@@ -15,7 +15,7 @@ class ICE40HX1KBlinkEVNPlatform(LatticeICE40Platform):
default_clk = "clk3p3"
resources = [
Resource("clk3p3", 0, Pins("13", dir="i"), Clock(3.3e6),
- Attrs(GLOBAL="1", IO_STANDARD="SB_LVCMOS33")),
+ Attrs(GLOBAL=True, IO_STANDARD="SB_LVCMOS33")),
Resource("user_led", 0, Pins("59", dir="o"), Attrs(IO_STANDARD="SB_LVCMOS33")),
Resource("user_led", 1, Pins("56", dir="o"), Attrs(IO_STANDARD="SB_LVCMOS33")),