mibuild/platforms/minispartan6: rename ftdi_fifo to usb_fifo and fix rd_n/wr_n swap
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Fri, 1 May 2015 13:48:42 +0000 (15:48 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Fri, 1 May 2015 13:48:42 +0000 (15:48 +0200)
mibuild/platforms/minispartan6.py

index 5ebdabdea2077bbaad23cf9de05b5af3965c0084..843fa3d5d818f2dfc3203b8d5f64854500a1711b 100644 (file)
@@ -61,12 +61,12 @@ _io = [
         IOStandard("LVCMOS33"), Misc("SLEW=FAST")
     ),
 
-    ("ftdi_fifo", 0,
+    ("usb_fifo", 0,
         Subsignal("data", Pins("M7 N6 M6 P5 N5 P4 P2 P1")),
         Subsignal("rxf_n", Pins("N3")),
         Subsignal("txe_n", Pins("N1")),
-        Subsignal("rd_n", Pins("M2")),
-        Subsignal("wr_n", Pins("M1")),
+        Subsignal("rd_n", Pins("M1")),
+        Subsignal("wr_n", Pins("M2")),
         Subsignal("siwua", Pins("M3")),
         IOStandard("LVCMOS33"), Drive(8), Misc("SLEW=FAST")
     ),