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/fomu_hacker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nmigen_boards/fomu_hacker.py') diff --git a/nmigen_boards/fomu_hacker.py b/nmigen_boards/fomu_hacker.py index 905262d..34c6b80 100644 --- a/nmigen_boards/fomu_hacker.py +++ b/nmigen_boards/fomu_hacker.py @@ -15,7 +15,7 @@ class FomuHackerPlatform(LatticeICE40Platform): default_clk = "clk48" resources = [ Resource("clk48", 0, Pins("F5", dir="i"), - Clock(48e6), Attrs(GLOBAL="1", IO_STANDARD="SB_LVCMOS33")), + Clock(48e6), Attrs(GLOBAL=True, IO_STANDARD="SB_LVCMOS33")), Resource("user_led", 0, PinsN("A5", dir="o"), Attrs(IO_STANDARD="SB_LVCMOS33")), Resource("rgb_led", 0, -- cgit v1.2.3