diff options
| author | Oguz Meteer <info@guztech.nl> | 2020-08-14 20:12:47 +0200 |
|---|---|---|
| committer | whitequark <whitequark@whitequark.org> | 2020-08-15 08:38:24 +0000 |
| commit | 2bdf05ff80ccd01e5b0ff09ca48f9340c331c193 (patch) | |
| tree | ea04b5614ca7d5715eb477092ee5faed9a163316 /nmigen_boards/ulx3s.py | |
| parent | 689a76207a61433b802ccdc96f5ffc3d07d81cec (diff) | |
Use correct IO attribute for ECP5 FPGAs
This changes several incorrect IO_STANDARD attributes to IO_TYPE.
Signed-off-by: Oguz Meteer <info@guztech.nl>
Diffstat (limited to 'nmigen_boards/ulx3s.py')
| -rw-r--r-- | nmigen_boards/ulx3s.py | 6 |
1 files changed, 3 insertions, 3 deletions
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. |
