platforms/nexys4ddr: add card detect pin to sdcard.
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Wed, 13 May 2020 17:11:46 +0000 (19:11 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Wed, 13 May 2020 17:11:46 +0000 (19:11 +0200)
litex/boards/platforms/nexys4ddr.py

index 060caeb033e829034a765257e8552c304b721318..80a489d6c4458216791acbb87282e4185d5232d0 100644 (file)
@@ -73,6 +73,7 @@ _io = [
         Subsignal("data", Pins("C2 E1 F1 D2"), Misc("PULLUP True")),
         Subsignal("cmd",  Pins("C1"),          Misc("PULLUP True")),
         Subsignal("clk",  Pins("B1")),
+        Subsignal("cd",   Pins("A1")),
         Misc("SLEW=FAST"),
         IOStandard("LVCMOS33"),
     ),