aboutsummaryrefslogtreecommitdiff
path: root/nmigen_boards/blackice.py
diff options
context:
space:
mode:
Diffstat (limited to 'nmigen_boards/blackice.py')
-rw-r--r--nmigen_boards/blackice.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/nmigen_boards/blackice.py b/nmigen_boards/blackice.py
index 51d09e4..2bdb3d9 100644
--- a/nmigen_boards/blackice.py
+++ b/nmigen_boards/blackice.py
@@ -15,7 +15,7 @@ class BlackIcePlatform(LatticeICE40Platform):
default_clk = "clk100"
resources = [
Resource("clk100", 0, Pins("129", dir="i"),
- Clock(100e6), Attrs(GLOBAL="1", IO_STANDARD="SB_LVCMOS33")
+ Clock(100e6), Attrs(GLOBAL=True, IO_STANDARD="SB_LVCMOS33")
),
Resource("user_led", 0, Pins("71", dir="o"), Attrs(IO_STANDARD="SB_LVCMOS33")),
@@ -38,7 +38,7 @@ class BlackIcePlatform(LatticeICE40Platform):
UARTResource(0,
rx="88", tx="85", rts="91", cts="94",
- attrs=Attrs(IO_STANDARD="SB_LVCMOS33", PULLUP="1")
+ attrs=Attrs(IO_STANDARD="SB_LVCMOS33", PULLUP=1)
),
SRAMResource(0,