pipistrello: use fpgaprog

This commit is contained in:
Robert Jordens 2015-02-26 20:22:23 -07:00 committed by Sebastien Bourdeauducq
parent ca52aa5b8c
commit 8de5b947bd
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
from mibuild.generic_platform import * from mibuild.generic_platform import *
from mibuild.crg import SimpleCRG from mibuild.crg import SimpleCRG
from mibuild.xilinx.ise import XilinxISEPlatform from mibuild.xilinx.ise import XilinxISEPlatform
from mibuild.xilinx.programmer import XC3SProg from mibuild.xilinx.programmer import FpgaProg
_io = [ _io = [
("user_led", 0, Pins("V16"), IOStandard("LVTTL"), Drive(8), Misc("SLEW=QUIETIO")), # green near hdmi ("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) lambda p: SimpleCRG(p, "clk50", None), _connectors)
def create_programmer(self): def create_programmer(self):
return XC3SProg("ftdi", "bscan_spi_lx45_csg324.bit") return FpgaProg("bscan_spi_lx45_csg324.bit")
def do_finalize(self, fragment): def do_finalize(self, fragment):
try: try: