pipistrello: use fpgaprog
authorRobert Jordens <jordens@gmail.com>
Fri, 27 Feb 2015 03:22:23 +0000 (20:22 -0700)
committerSebastien Bourdeauducq <sb@m-labs.hk>
Fri, 27 Feb 2015 04:34:02 +0000 (21:34 -0700)
mibuild/platforms/pipistrello.py

index cd3d67fe080d8fe50c4d8a5b8fc0b21259247522..244cbf65fb75e29539c96f6efc45037103769407 100644 (file)
@@ -1,7 +1,7 @@
 from mibuild.generic_platform import *
 from mibuild.crg import SimpleCRG
 from mibuild.xilinx.ise import XilinxISEPlatform
-from mibuild.xilinx.programmer import XC3SProg
+from mibuild.xilinx.programmer import FpgaProg
 
 _io = [
        ("user_led", 0, Pins("V16"), IOStandard("LVTTL"), Drive(8), Misc("SLEW=QUIETIO")), # green near hdmi
@@ -119,7 +119,7 @@ class Platform(XilinxISEPlatform):
                        lambda p: SimpleCRG(p, "clk50", None), _connectors)
 
        def create_programmer(self):
-               return XC3SProg("ftdi", "bscan_spi_lx45_csg324.bit")
+               return FpgaProg("bscan_spi_lx45_csg324.bit")
 
        def do_finalize(self, fragment):
                try: