parent
127fe1fd2e
commit
c2001fe935
|
@ -42,7 +42,7 @@ Amaranth can be used to target any FPGA or ASIC process that accepts behavioral
|
||||||
* AMD Spartan 6 (toolchains: ISE);
|
* AMD Spartan 6 (toolchains: ISE);
|
||||||
* AMD 7-series (toolchains: Vivado, ISE);
|
* AMD 7-series (toolchains: Vivado, ISE);
|
||||||
* AMD UltraScale, UltraScale+ (toolchains: Vivado);
|
* AMD UltraScale, UltraScale+ (toolchains: Vivado);
|
||||||
* Intel (toolchains: Quartus);
|
* Altera (toolchains: Quartus);
|
||||||
* Quicklogic EOS S3 (toolchains: **Yosys+VPR**).
|
* Quicklogic EOS S3 (toolchains: **Yosys+VPR**).
|
||||||
|
|
||||||
FOSS toolchains are listed in **bold**.
|
FOSS toolchains are listed in **bold**.
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
|
|
||||||
# Keep this list sorted alphabetically.
|
# Keep this list sorted alphabetically.
|
||||||
__all__ = [
|
__all__ = [
|
||||||
|
"AlteraPlatform",
|
||||||
"GowinPlatform",
|
"GowinPlatform",
|
||||||
"IntelPlatform",
|
"IntelPlatform",
|
||||||
"LatticeECP5Platform",
|
"LatticeECP5Platform",
|
||||||
|
@ -20,12 +21,12 @@ def __dir__():
|
||||||
|
|
||||||
|
|
||||||
def __getattr__(name):
|
def __getattr__(name):
|
||||||
|
if name in ("AlteraPlatform", "IntelPlatform"):
|
||||||
|
from ._altera import AlteraPlatform
|
||||||
|
return AlteraPlatform
|
||||||
if name == "GowinPlatform":
|
if name == "GowinPlatform":
|
||||||
from ._gowin import GowinPlatform
|
from ._gowin import GowinPlatform
|
||||||
return GowinPlatform
|
return GowinPlatform
|
||||||
if name == "IntelPlatform":
|
|
||||||
from ._intel import IntelPlatform
|
|
||||||
return IntelPlatform
|
|
||||||
if name == "LatticeECP5Platform":
|
if name == "LatticeECP5Platform":
|
||||||
from ._lattice_ecp5 import LatticeECP5Platform
|
from ._lattice_ecp5 import LatticeECP5Platform
|
||||||
return LatticeECP5Platform
|
return LatticeECP5Platform
|
||||||
|
|
|
@ -4,7 +4,7 @@ from ..hdl import *
|
||||||
from ..build import *
|
from ..build import *
|
||||||
|
|
||||||
|
|
||||||
class IntelPlatform(TemplatedPlatform):
|
class AlteraPlatform(TemplatedPlatform):
|
||||||
"""
|
"""
|
||||||
.. rubric:: Quartus toolchain
|
.. rubric:: Quartus toolchain
|
||||||
|
|
|
@ -102,6 +102,7 @@ Platform integration changes
|
||||||
* Added: :meth:`BuildPlan.execute_local_docker`.
|
* Added: :meth:`BuildPlan.execute_local_docker`.
|
||||||
* Added: :meth:`BuildPlan.extract`.
|
* Added: :meth:`BuildPlan.extract`.
|
||||||
* Added: ``build.sh`` begins with ``#!/bin/sh``.
|
* Added: ``build.sh`` begins with ``#!/bin/sh``.
|
||||||
|
* Changed: ``IntelPlatform`` renamed to ``AlteraPlatform``.
|
||||||
* Deprecated: argument ``run_script=`` in :meth:`BuildPlan.execute_local`.
|
* 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`_)
|
* 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`_)
|
||||||
|
|
||||||
|
|
|
@ -10,8 +10,8 @@ Platform integration
|
||||||
.. toctree::
|
.. toctree::
|
||||||
:maxdepth: 2
|
:maxdepth: 2
|
||||||
|
|
||||||
|
platform/altera
|
||||||
platform/gowin
|
platform/gowin
|
||||||
platform/intel
|
|
||||||
platform/lattice-ecp5
|
platform/lattice-ecp5
|
||||||
platform/lattice-ice40
|
platform/lattice-ice40
|
||||||
platform/lattice-machxo-2-3l
|
platform/lattice-machxo-2-3l
|
||||||
|
|
10
docs/platform/altera.rst
Normal file
10
docs/platform/altera.rst
Normal 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
|
|
@ -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
|
|
Loading…
Reference in a new issue