--- /dev/null
+import warnings
+
+from .lattice_machxo_2_3l import LatticeMachXO2Platform
+
+
+__all__ = ["LatticeMachXO2Platform"]
+
+
+# TODO(nmigen-0.4): remove
+warnings.warn("instead of vendor.lattice_machxo2, use vendor.lattice_machxo_2_3l",
+ DeprecationWarning, stacklevel=2)
__all__ = ["LatticeMachXO2Platform", "LatticeMachXO3LPlatform"]
+
# MachXO2 and MachXO3L primitives are the same. Handle both using
# one class and expose user-aliases for convenience.
class LatticeMachXO2Or3LPlatform(TemplatedPlatform):
# CDC primitives are not currently specialized for MachXO2/MachXO3L.
+
LatticeMachXO2Platform = LatticeMachXO2Or3LPlatform
LatticeMachXO3LPlatform = LatticeMachXO2Or3LPlatform