]
class Platform(XilinxISEPlatform):
+ default_clk_name = "clk0"
+ default_clk_period = 10
def __init__(self):
XilinxISEPlatform.__init__(self, "xc3s200a-ft256-4", _ios,
lambda p: SimpleCRG(p, "clk0", None), _connectors)
]
class Platform(XilinxISEPlatform):
+ default_clk_name = "clk3"
+ default_clk_period = 10.526
def __init__(self):
XilinxISEPlatform.__init__(self, "xc6slx9-2csg225", _ios,
lambda p: SimpleCRG(p, "clk3", None), _connectors)
]
class Platform(AlteraQuartusPlatform):
+ default_clk_name = "clk50"
+ default_clk_period = 20
def __init__(self):
AlteraQuartusPlatform.__init__(self, "EP4CE22F17C6", _io,
lambda p: SimpleCRG(p, "clk50", None))
raise ValueError
class RealPlatform(xilinx_platform):
+ default_clk_name = "clk156"
+ default_clk_period = 6.4
bitgen_opt = "-g LCK_cycle:6 -g Binary:Yes -w -g ConfigRate:12 -g SPI_buswidth:4"
def __init__(self, crg_factory=lambda p: CRG_DS(p, "clk156", "cpu_reset")):
class Platform(XilinxISEPlatform):
+ default_clk_name = "clk_y3"
+ default_clk_period = 10
bitgen_opt = "-g LCK_cycle:6 -g Binary:Yes -w -g SPI_buswidth:4"
ise_commands = """
promgen -w -spi -c FF -p mcs -o {build_name}.mcs -u 0 {build_name}.bit
]
class Platform(XilinxISEPlatform):
+ default_clk_name = "clk50"
+ default_clk_period = 20
def __init__(self):
XilinxISEPlatform.__init__(self, "xc6slx45-fgg484-2", _io,
lambda p: SimpleCRG(p, "clk50", None))
]
class Platform(XilinxISEPlatform):
+ default_clk_name = "clk50"
+ default_clk_period = 20
def __init__(self):
XilinxISEPlatform.__init__(self, "xc6slx45-fgg484-2", _io,
lambda p: SimpleCRG(p, "clk50", None))
]
class Platform(XilinxISEPlatform):
+ default_clk_name = "clk200"
+ default_clk_period = 5
def __init__(self):
XilinxISEPlatform.__init__(self, "xc6vlx240t-ff1156-1", _io,
lambda p: CRG_DS(p, "clk200", "user_btn"))
]
class Platform(XilinxISEPlatform):
+ default_clk_name = "clk32"
+ default_clk_period = 31.25
def __init__(self):
XilinxISEPlatform.__init__(self, "xc6slx9-tqg144-2", _io,
lambda p: SimpleCRG(p, "clk32", None), _connectors)
]
class Platform(XilinxISEPlatform):
+ default_clk_name = "clk100"
+ default_clk_period = 10
def __init__(self):
XilinxISEPlatform.__init__(self, "xc6slx150t-fgg676-3", _io,
lambda p: CRG_DS(p, "clk100", "gpio"))
class Platform(XilinxISEPlatform):
+ default_clk_name = "clk64"
+ default_clk_period = 15.625
bitgen_opt = "-g LCK_cycle:6 -g Binary:Yes -w -g UnusedPin:PullUp"
def __init__(self):
XilinxISEPlatform.__init__(self, "xc3s1400a-ft256-4", _io,
class Platform(XilinxISEPlatform):
+ default_clk_name = "clk100"
+ default_clk_period = 10
def __init__(self):
XilinxISEPlatform.__init__(self, "xc7z020-clg484-1", _io,
lambda p: SimpleCRG(p, "clk100", None))
class Platform(XilinxISEPlatform):
def __init__(self):
+ default_clk_name = "clk_if"
+ default_clk_period = 20
XilinxISEPlatform.__init__(self, "xc6slx150-3csg484", _io,
lambda p: SimpleCRG(p, "clk_if", "rst"))
self.add_platform_command("""