From 2bdf05ff80ccd01e5b0ff09ca48f9340c331c193 Mon Sep 17 00:00:00 2001 From: Oguz Meteer Date: Fri, 14 Aug 2020 20:12:47 +0200 Subject: Use correct IO attribute for ECP5 FPGAs This changes several incorrect IO_STANDARD attributes to IO_TYPE. Signed-off-by: Oguz Meteer --- nmigen_boards/ulx3s.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'nmigen_boards/ulx3s.py') diff --git a/nmigen_boards/ulx3s.py b/nmigen_boards/ulx3s.py index 3643b6a..0b9dfee 100644 --- a/nmigen_boards/ulx3s.py +++ b/nmigen_boards/ulx3s.py @@ -26,12 +26,12 @@ class _ULX3SPlatform(LatticeECP5Platform): Resource("program", 0, PinsN("M4", dir="o"), Attrs(IO_TYPE="LVCMOS33", PULLMODE="UP")), *LEDResources(pins="B2 C2 C1 D2 D1 E2 E1 H3", - attrs=Attrs(IO_STANDARD="LVCMOS33", DRIVE="4")), + attrs=Attrs(IO_TYPE="LVCMOS33", DRIVE="4")), *ButtonResources(pins="R1 T1 R18 V1 U1 H16", - attrs=Attrs(IO_STANDARD="LVCMOS33", PULLMODE="DOWN") + attrs=Attrs(IO_TYPE="LVCMOS33", PULLMODE="DOWN") ), *ButtonResources("switch", pins="E8 D8 D7 E7", - attrs=Attrs(IO_STANDARD="LVCMOS33", PULLMODE="DOWN") + attrs=Attrs(IO_TYPE="LVCMOS33", PULLMODE="DOWN") ), # Semantic aliases by button label. -- cgit v1.2.3