From: Cesar Strauss Date: Sat, 13 Apr 2024 18:31:21 +0000 (-0300) Subject: ls2: avoid using DRIVE attribute on Xilinx devices for now X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dc2e0d4c1b6f7bc159437181f9755047f6ec5a41;p=ls2.git ls2: avoid using DRIVE attribute on Xilinx devices for now The DRIVE attribute is currently broken. See: https://github.com/openXC7/nextpnr-xilinx/issues/7 --- diff --git a/src/ls2.py b/src/ls2.py index 2a17fae..f151cb4 100644 --- a/src/ls2.py +++ b/src/ls2.py @@ -968,7 +968,11 @@ def build_platform(fpga, firmware): Subsignal("dq3", Pins("M14", dir="io")), Subsignal("cs_n", Pins("L13", dir="o")), Subsignal("clk", Pins("L16", dir="o")), - Attrs(PULLMODE="NONE", DRIVE="4", IOSTANDARD="LVCMOS33")) + # drive support is currently broken on + # nextpnx-xilinx/openxc7. Add back DRIVE="4" below + # when upstream fixes it. + # See: https://github.com/openXC7/nextpnr-xilinx/issues/7 + Attrs(PULLMODE="NONE", IOSTANDARD="LVCMOS33")) ] platform.add_resources(spi_0_ios) spi_0_pins = platform.request("spi_0", 0)