Skip to content

Commit 2ab3a4a

Browse files
committed
docs/install: fix Yosys version requirement.
1 parent 8c65a79 commit 2ab3a4a

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

amaranth/back/verilog.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99

1010
def _convert_rtlil_text(rtlil_text, *, strip_internal_attrs=False, write_verilog_opts=()):
11-
# this version requirement needs to be synchronized with the one in pyproject.toml!
11+
# This version requirement needs to be synchronized with the one in pyproject.toml!
1212
yosys = find_yosys(lambda ver: ver >= (0, 38))
1313

1414
script = []

docs/install.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ Installation
44
System requirements
55
===================
66

7-
.. |yosys-version| replace:: 0.35 (or newer)
7+
..
8+
This version requirement needs to be synchronized with the one in pyproject.toml!
9+
10+
.. |yosys-version| replace:: 0.38 (or newer)
811

912
Amaranth HDL requires Python 3.8; it works on CPython_ 3.8 (or newer), and works faster on PyPy3.8_ 7.3.7 (or newer). Installation requires pip_ 23.0 (or newer).
1013

pyproject.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@ dependencies = [
2020
]
2121

2222
[project.optional-dependencies]
23-
# this version requirement needs to be synchronized with the one in amaranth.back.verilog!
23+
# This version requirement needs to be synchronized with:
24+
# - pyproject.toml: tool.pdm.dev-dependencies.test
25+
# - amaranth/back/verilog.py: _convert_rtlil_text
26+
# - docs/install.rst: yosys-version
2427
builtin-yosys = ["amaranth-yosys>=0.38"]
2528
remote-build = ["paramiko~=2.7"]
2629

@@ -60,6 +63,7 @@ source-includes = [
6063
# Development workflow configuration
6164

6265
[tool.pdm.dev-dependencies]
66+
# This version requirement needs to be synchronized with the one in pyproject.toml above!
6367
test = [
6468
"yowasp-yosys>=0.38",
6569
"coverage",

0 commit comments

Comments
 (0)