vendor.lattice_ice40: add iCE5LP2K support.
authorwhitequark <whitequark@whitequark.org>
Wed, 7 Aug 2019 09:25:20 +0000 (09:25 +0000)
committerwhitequark <whitequark@whitequark.org>
Wed, 7 Aug 2019 09:25:20 +0000 (09:25 +0000)
nmigen/vendor/lattice_ice40.py

index bf0c6385e58e39976620d7c3ae2e12b417b377a7..a104c69b4ac21df0ef1768ad8652b136df2f5c38 100644 (file)
@@ -51,12 +51,14 @@ class LatticeICE40Platform(TemplatedPlatform):
         "iCE40UP5K":  "--up5k",
         "iCE40UP3K":  "--up5k",
         "iCE5LP4K":   "--u4k",
+        "iCE5LP2K":   "--u4k",
         "iCE5LP1K":   "--u4k",
     }
     _nextpnr_package_options = {
         "iCE40LP4K":  ":4k",
         "iCE40HX4K":  ":4k",
         "iCE40UP3K":  "",
+        "iCE5LP2K":   "",
         "iCE5LP1K":   "",
     }