vendor._lattice: merge ECP5 and MachXO[23] into one platform.

This commit is contained in:
Wanda 2024-04-18 16:44:41 +02:00 committed by Catherine
parent a7a7d32099
commit 09045a2724
9 changed files with 164 additions and 328 deletions

View file

@ -1,10 +0,0 @@
Lattice ECP5
############
.. currentmodule:: amaranth.vendor
The :class:`LatticeECP5Platform` class provides a base platform to support Lattice ECP5 devices.
The Trellis and Diamond toolchains are supported.
.. autoclass:: LatticeECP5Platform

View file

@ -1,10 +0,0 @@
Lattice iCE40
#############
.. currentmodule:: amaranth.vendor
The :class:`LatticeICE40Platform` class provides a base platform to support Lattice iCE40 devices.
The IceStorm and iCECube2 toolchains are supported.
.. autoclass:: LatticeICE40Platform

View file

@ -1,12 +0,0 @@
Lattice MachXO2 and MachXO3L
############################
.. currentmodule:: amaranth.vendor
The :class:`LatticeMachXO2Platform` and :class:`LatticeMachXO3LPlatform` classes provide base platforms to support Lattice MachXO2 and MachXO3L devices.
The Diamond toolchain is supported.
.. autoclass:: amaranth.vendor._lattice_machxo_2_3l.LatticeMachXO2Or3LPlatform
.. autoclass:: LatticeMachXO2Platform
.. autoclass:: LatticeMachXO3LPlatform

10
docs/platform/lattice.rst Normal file
View file

@ -0,0 +1,10 @@
Lattice
#######
.. currentmodule:: amaranth.vendor
The :class:`LatticePlatform` class provides a base platform to support Lattice toolchains (not including iCE40 devices, which are supported by :class:`SiliconBluePlatform`). Currently supported devices include ECP5, MachXO2, and MachXO3L.
The Trellis and Diamond toolchains are supported.
.. autoclass:: LatticePlatform

View file

@ -0,0 +1,10 @@
SiliconBlue
###########
.. currentmodule:: amaranth.vendor
The :class:`SiliconBluePlatform` class provides a base platform to support Lattice (earlier SiliconBlue) iCE40 devices.
The IceStorm and iCECube2 toolchains are supported.
.. autoclass:: SiliconBluePlatform