From 6e39ca723b0d60987314ef261c2130c083111410 Mon Sep 17 00:00:00 2001 From: Aki Van Ness Date: Sun, 12 Jan 2025 15:00:58 -0800 Subject: [PATCH] gateware: platform: rev2: Fixed a bug where despite everything CIPO and COPI are backwards on the supervisor SPI interface??? --- squishy/gateware/platform/rev2.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/squishy/gateware/platform/rev2.py b/squishy/gateware/platform/rev2.py index c844351a..097d4387 100644 --- a/squishy/gateware/platform/rev2.py +++ b/squishy/gateware/platform/rev2.py @@ -223,8 +223,11 @@ class SquishyRev2(SquishyPlatform, ECP5Platform): # Supervisor bus SquishySupervisor( clk = 'U2', - copi = 'W2', - cipo = 'V2', + # ??? These are backwards???? Why??? + # copi = 'W2', + copi = 'V2', + # cipo = 'V2', + cipo = 'W2', attn = 'T2', psram = 'Y2', su_irq = 'W1',