diff options
| author | whitequark <whitequark@whitequark.org> | 2019-08-30 08:39:30 +0000 |
|---|---|---|
| committer | whitequark <whitequark@whitequark.org> | 2019-08-30 08:43:02 +0000 |
| commit | 3b80b3a3749ae8f123ff258a25e81bd21412aed4 (patch) | |
| tree | bda8711d0aa6df104b0c52192e2b8b3db3d76a86 /nmigen_boards/ice40_hx8k_b_evn.py | |
| parent | b40277c21ac099ec3d3cd89d6c2756957f1223f9 (diff) | |
Update iCE40 GLOBAL and PULLUP attribute to use correct types.
Diffstat (limited to 'nmigen_boards/ice40_hx8k_b_evn.py')
| -rw-r--r-- | nmigen_boards/ice40_hx8k_b_evn.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nmigen_boards/ice40_hx8k_b_evn.py b/nmigen_boards/ice40_hx8k_b_evn.py index cf0c8a5..bca53d0 100644 --- a/nmigen_boards/ice40_hx8k_b_evn.py +++ b/nmigen_boards/ice40_hx8k_b_evn.py @@ -15,7 +15,7 @@ class ICE40HX8KBEVNPlatform(LatticeICE40Platform): default_clk = "clk12" resources = [ Resource("clk12", 0, Pins("J3", dir="i"), - Clock(12e6), Attrs(GLOBAL="1", IO_STANDARD="SB_LVCMOS33")), + Clock(12e6), Attrs(GLOBAL=True, IO_STANDARD="SB_LVCMOS33")), Resource("user_led", 0, Pins("C3", dir="o"), Attrs(IO_STANDARD="SB_LVCMOS33")), # D2 Resource("user_led", 1, Pins("B3", dir="o"), Attrs(IO_STANDARD="SB_LVCMOS33")), # D3 @@ -28,7 +28,7 @@ class ICE40HX8KBEVNPlatform(LatticeICE40Platform): UARTResource(0, rx="B10", tx="B12", rts="B13", cts="A15", dtr="A16", dsr="B14", dcd="B15", - attrs=Attrs(IO_STANDARD="SB_LVCMOS33", PULLUP="1") + attrs=Attrs(IO_STANDARD="SB_LVCMOS33", PULLUP=1) ), *SPIFlashResources(0, |
