Skip to content

Commit 11d5bb1

Browse files
crzwdjkwhitequark
authored andcommitted
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.
1 parent ecba1a1 commit 11d5bb1

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

amaranth/vendor/_lattice_ice40.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ class LatticeICE40Platform(TemplatedPlatform):
160160
r"""
161161
{{invoke_tool("icepack")}}
162162
{{verbose("-v")}}
163+
{{get_override("icepack_opts")|options}}
163164
{{name}}.asc
164165
{{name}}.bin
165166
"""

docs/changes.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ Platform integration changes
125125

126126
.. currentmodule:: amaranth.vendor
127127

128+
* Added: ``icepack_opts`` override in :class:`vendor.LatticeICE40Platform`.
128129
* Added: ``OSCH`` as ``default_clk`` clock source in :class:`vendor.LatticeMachXO2Platform`, :class:`vendor.LatticeMachXO3LPlatform`.
129130
* Added: Xray toolchain support in :class:`vendor.XilinxPlatform`.
130131
* Added: :class:`vendor.GowinPlatform`.

0 commit comments

Comments
 (0)