vendor: Rename IntelPlatform to AlteraPlatform.

Fixes #1179.
This commit is contained in:
Wanda 2024-03-03 23:44:41 +01:00 committed by Catherine
parent 127fe1fd2e
commit c2001fe935
7 changed files with 18 additions and 16 deletions

View file

@ -42,7 +42,7 @@ Amaranth can be used to target any FPGA or ASIC process that accepts behavioral
* AMD Spartan 6 (toolchains: ISE);
* AMD 7-series (toolchains: Vivado, ISE);
* AMD UltraScale, UltraScale+ (toolchains: Vivado);
* Intel (toolchains: Quartus);
* Altera (toolchains: Quartus);
* Quicklogic EOS S3 (toolchains: **Yosys+VPR**).
FOSS toolchains are listed in **bold**.

View file

@ -4,6 +4,7 @@
# Keep this list sorted alphabetically.
__all__ = [
"AlteraPlatform",
"GowinPlatform",
"IntelPlatform",
"LatticeECP5Platform",
@ -20,12 +21,12 @@ def __dir__():
def __getattr__(name):
if name in ("AlteraPlatform", "IntelPlatform"):
from ._altera import AlteraPlatform
return AlteraPlatform
if name == "GowinPlatform":
from ._gowin import GowinPlatform
return GowinPlatform
if name == "IntelPlatform":
from ._intel import IntelPlatform
return IntelPlatform
if name == "LatticeECP5Platform":
from ._lattice_ecp5 import LatticeECP5Platform
return LatticeECP5Platform

View file

@ -4,7 +4,7 @@ from ..hdl import *
from ..build import *
class IntelPlatform(TemplatedPlatform):
class AlteraPlatform(TemplatedPlatform):
"""
.. rubric:: Quartus toolchain

View file

@ -102,6 +102,7 @@ Platform integration changes
* Added: :meth:`BuildPlan.execute_local_docker`.
* Added: :meth:`BuildPlan.extract`.
* Added: ``build.sh`` begins with ``#!/bin/sh``.
* Changed: ``IntelPlatform`` renamed to ``AlteraPlatform``.
* Deprecated: argument ``run_script=`` in :meth:`BuildPlan.execute_local`.
* Removed: (deprecated in 0.4) :mod:`vendor.intel`, :mod:`vendor.lattice_ecp5`, :mod:`vendor.lattice_ice40`, :mod:`vendor.lattice_machxo2_3l`, :mod:`vendor.quicklogic`, :mod:`vendor.xilinx`. (`RFC 18`_)

View file

@ -10,8 +10,8 @@ Platform integration
.. toctree::
:maxdepth: 2
platform/altera
platform/gowin
platform/intel
platform/lattice-ecp5
platform/lattice-ice40
platform/lattice-machxo-2-3l

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

@ -0,0 +1,10 @@
Altera
######
.. currentmodule:: amaranth.vendor
The :class:`AlteraPlatform` class provides a base platform to support Altera toolchains.
The Quartus and Mistral toolchains are supported.
.. autoclass:: AlteraPlatform

View file

@ -1,10 +0,0 @@
Intel
#####
.. currentmodule:: amaranth.vendor
The :class:`IntelPlatform` class provides a base platform to support Intel toolchains.
The Quartus and Mistral toolchains are supported.
.. autoclass:: IntelPlatform