mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
mibuild/platforms/minispartan6: add device parameter (board can be populated with lx9 or lx25)
This commit is contained in:
parent
1a03c340c9
commit
78b4f313bf
1 changed files with 2 additions and 2 deletions
|
@ -99,8 +99,8 @@ _connectors = [
|
||||||
class Platform(XilinxISEPlatform):
|
class Platform(XilinxISEPlatform):
|
||||||
default_clk_name = "clk50"
|
default_clk_name = "clk50"
|
||||||
default_clk_period = 20
|
default_clk_period = 20
|
||||||
def __init__(self):
|
def __init__(self, device="xc6slx9"):
|
||||||
XilinxISEPlatform.__init__(self, "xc6slx9-3-ftg256", _io,
|
XilinxISEPlatform.__init__(self, device+"-3-ftg256", _io,
|
||||||
lambda p: SimpleCRG(p, "clk50", None), _connectors)
|
lambda p: SimpleCRG(p, "clk50", None), _connectors)
|
||||||
|
|
||||||
def create_programmer(self):
|
def create_programmer(self):
|
||||||
|
|
Loading…
Reference in a new issue