From d1c9cc7553f4d989b538e3f1b218c0ee07e7288f Mon Sep 17 00:00:00 2001
From: Kevin Mehall <km@kevinmehall.net>
Date: Sun, 1 Nov 2020 23:45:32 +0000
Subject: [PATCH] Add LFE5U-12F device for ULX3S

---
 litex_boards/platforms/ulx3s.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/litex_boards/platforms/ulx3s.py b/litex_boards/platforms/ulx3s.py
index 5553091..4a1956a 100644
--- a/litex_boards/platforms/ulx3s.py
+++ b/litex_boards/platforms/ulx3s.py
@@ -139,7 +139,7 @@ class Platform(LatticePlatform):
     default_clk_period = 1e9/25e6
 
     def __init__(self, device="LFE5U-45F", revision="2.0", **kwargs):
-        assert device in ["LFE5U-25F", "LFE5U-45F", "LFE5U-85F"]
+        assert device in ["LFE5U-12F", "LFE5U-25F", "LFE5U-45F", "LFE5U-85F"]
         assert revision in ["1.7", "2.0"]
         _io = _io_common + {"1.7": _io_1_7, "2.0": _io_2_0}[revision]
         LatticePlatform.__init__(self, device + "-6BG381C", _io, **kwargs)
-- 
GitLab