Commit 135c3871 authored by Florent Kermarrec's avatar Florent Kermarrec

platforms/ulx3s: add assertion for supported devices.

parent 851378f0
......@@ -108,6 +108,7 @@ class Platform(LatticePlatform):
default_clk_period = 1e9/25e6
def __init__(self, device="LFE5U-45F", **kwargs):
assert device in ["LFE5U-25F", "LFE5U-45F", "LFE5U-85F"]
LatticePlatform.__init__(self, device + "-6BG381C", _io, **kwargs)
def create_programmer(self):
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment