Lattice MachXO2 and MachXO3L
############################

.. py:module:: amaranth.vendor.lattice_machxo_2_3l

The :mod:`amaranth.vendor.lattice_machxo_2_3l` module provides a base platform to support Lattice
MachXO2 and MachXO3L devices.

The Diamond toolchain is supported.



.. autoclass:: LatticeMachXO2Platform
.. autoclass:: LatticeMachXO3LPlatform

.. note:: Both of the above are aliases for the actual platform below, however only the aliased
          definitions are actually exported from the module for use.

.. autoclass:: LatticeMachXO2Or3LPlatform
