mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
platforms/minispartan6: add assert on available devices
This commit is contained in:
parent
bfe0bf6402
commit
76e57414c3
1 changed files with 1 additions and 0 deletions
|
@ -118,6 +118,7 @@ class Platform(XilinxPlatform):
|
|||
default_clk_period = 1e9/32e6
|
||||
|
||||
def __init__(self, device="xc6slx25"):
|
||||
assert device in ["xc6slx9", "xc6slx25"]
|
||||
XilinxPlatform.__init__(self, device+"-3-ftg256", _io, _connectors)
|
||||
|
||||
def create_programmer(self):
|
||||
|
|
Loading…
Reference in a new issue