de0{,cv}: {Altera→Intel}Platform
[nmigen-boards.git] / nmigen_boards / de0cv.py
index 4b0517e5b3c7ef7709face746ef0057bfe1193b1..163ad385513095012428437606b5a3a7a842efd0 100644 (file)
@@ -2,14 +2,14 @@ import os
 import subprocess
 
 from nmigen.build import *
-from nmigen.vendor.altera import *
+from nmigen.vendor.intel import *
 from .resources import *
 
 
 __all__ = ["DE0CVPlatform"]
 
 
-class DE0CVPlatform(AlteraPlatform):
+class DE0CVPlatform(IntelPlatform):
     device      = "5CEBA4" # Cyclone V 49K LEs
     package     = "F23"    # FBGA-484
     speed       = "C7"
@@ -25,7 +25,7 @@ class DE0CVPlatform(AlteraPlatform):
                  Clock(50e6), Attrs(io_standard="3.3-V LVTTL")),
 
         *LEDResources(
-            pins="AA2 AA1 W2 Y3 N2 N1 U2 U1 L2 L1",
+            pins="AA2 AA1 W2 Y3 N2 N1 U2 U1 L2 L1", invert=True,
             attrs=Attrs(io_standard="3.3-V LVTTL")),
         *ButtonResources(
             pins="U7 W9 M7 M6", invert=True,