From ff23e73cbcadf97c8c3dd056b5cc6eed68890f25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fin=20Maa=C3=9F?= Date: Fri, 17 Oct 2025 11:24:46 +0200 Subject: [PATCH 1/2] platforms: digilent_arty: move slew setting MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit move slew setting, only to pins that support it. cd is not supporting it as it is directly connected in litesdcard. Signed-off-by: Fin Maaß --- litex_boards/platforms/digilent_arty.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/litex_boards/platforms/digilent_arty.py b/litex_boards/platforms/digilent_arty.py index ec99c8844..72626f254 100644 --- a/litex_boards/platforms/digilent_arty.py +++ b/litex_boards/platforms/digilent_arty.py @@ -299,11 +299,10 @@ def sdcard_pmod_io(pmod): IOStandard("LVCMOS33"), ), ("sdcard", 0, - Subsignal("data", Pins(f"{pmod}:2 {pmod}:4 {pmod}:5 {pmod}:0"), Misc("PULLUP True")), - Subsignal("cmd", Pins(f"{pmod}:1"), Misc("PULLUP True")), - Subsignal("clk", Pins(f"{pmod}:3")), + Subsignal("data", Pins(f"{pmod}:2 {pmod}:4 {pmod}:5 {pmod}:0"), Misc("SLEW=FAST"), Misc("PULLUP True")), + Subsignal("cmd", Pins(f"{pmod}:1"), Misc("SLEW=FAST"), Misc("PULLUP True")), + Subsignal("clk", Pins(f"{pmod}:3"), Misc("SLEW=FAST")), Subsignal("cd", Pins(f"{pmod}:6")), - Misc("SLEW=FAST"), #NOTE: this and all Misc() is not supported by yosys+nextprn toolchain IOStandard("LVCMOS33"), ), ] From b22f5c1cdbc5b218120c8ae38aedf4bea9737971 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fin=20Maa=C3=9F?= Date: Fri, 17 Oct 2025 12:13:44 +0200 Subject: [PATCH 2/2] ci: use pytest MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit as python3 setup.py test is deprecated and will be removed, use pytest instead Signed-off-by: Fin Maaß --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 22deb92a3..eb9bdbb6e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,7 +24,7 @@ jobs: - name: Install Python dependencies run: | - python3 -m pip install setuptools requests pexpect meson + python3 -m pip install setuptools requests pexpect meson pytest # Install (n)Migen / LiteX / Cores - name: Install LiteX @@ -38,4 +38,4 @@ jobs: # Test - name: Run Tests - run: python3 setup.py test + run: python3 -m pytest -v