From 3b80b3a3749ae8f123ff258a25e81bd21412aed4 Mon Sep 17 00:00:00 2001 From: whitequark Date: Fri, 30 Aug 2019 08:39:30 +0000 Subject: Update iCE40 GLOBAL and PULLUP attribute to use correct types. --- nmigen_boards/blackice.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nmigen_boards/blackice.py') 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, -- cgit v1.2.3