vendor._lattice_ice40: add an icepack_opts override

Add an icepack_opts override in case the user wants to pass
extra options to icepack as part of the build process.
This commit is contained in:
crzwdjk 2023-09-08 22:10:19 -04:00 committed by Catherine
parent ecba1a1863
commit 11d5bb19eb
2 changed files with 2 additions and 0 deletions

View file

@ -160,6 +160,7 @@ class LatticeICE40Platform(TemplatedPlatform):
r"""
{{invoke_tool("icepack")}}
{{verbose("-v")}}
{{get_override("icepack_opts")|options}}
{{name}}.asc
{{name}}.bin
"""

View file

@ -125,6 +125,7 @@ Platform integration changes
.. currentmodule:: amaranth.vendor
* Added: ``icepack_opts`` override in :class:`vendor.LatticeICE40Platform`.
* Added: ``OSCH`` as ``default_clk`` clock source in :class:`vendor.LatticeMachXO2Platform`, :class:`vendor.LatticeMachXO3LPlatform`.
* Added: Xray toolchain support in :class:`vendor.XilinxPlatform`.
* Added: :class:`vendor.GowinPlatform`.