|
4 | 4 | <meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" /> |
5 | 5 |
|
6 | 6 | <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
7 | | - <title>Changelog — Amaranth language & toolchain 0.6.0.dev101 documentation</title> |
| 7 | + <title>Changelog — Amaranth language & toolchain 0.6.0.dev102 documentation</title> |
8 | 8 | <link rel="stylesheet" type="text/css" href="_static/pygments.css?v=b86133f3" /> |
9 | 9 | <link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=19f00094" /> |
10 | 10 | <link rel="stylesheet" type="text/css" href="_static/platformpicker.css" /> |
|
17 | 17 |
|
18 | 18 | <script src="_static/jquery.js?v=5d32c60e"></script> |
19 | 19 | <script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script> |
20 | | - <script src="_static/documentation_options.js?v=bbbdcbcb"></script> |
| 20 | + <script src="_static/documentation_options.js?v=8c4541a1"></script> |
21 | 21 | <script src="_static/doctools.js?v=9a2dae69"></script> |
22 | 22 | <script src="_static/sphinx_highlight.js?v=dc90522c"></script> |
23 | 23 | <script src="_static/platformpicker.js"></script> |
|
41 | 41 | <img src="_static/logo.png" class="logo" alt="Logo"/> |
42 | 42 | </a> |
43 | 43 | <div class="version"> |
44 | | - 0.6.0.dev101 |
| 44 | + 0.6.0.dev102 |
45 | 45 | </div> |
46 | 46 | <div role="search"> |
47 | 47 | <form id="rtd-search-form" class="wy-form" action="search.html" method="get"> |
@@ -226,7 +226,7 @@ <h3>Toolchain changes<a class="headerlink" href="#toolchain-changes" title="Link |
226 | 226 | <li><p>Changed: <code class="xref py py-meth docutils literal notranslate"><span class="pre">ResourceManager.add_clock_constraint</span></code> now accepts a <code class="xref py py-class docutils literal notranslate"><span class="pre">Period</span></code> for <code class="code highlight py python docutils literal highlight-python"><span class="n">period</span></code>. (<a class="reference external" href="https://amaranth-lang.org/rfcs/0066-simulation-time.html">RFC 66</a>)</p></li> |
227 | 227 | <li><p>Changed: <code class="xref py py-class docutils literal notranslate"><span class="pre">Clock</span></code> now accepts a <code class="xref py py-class docutils literal notranslate"><span class="pre">Period</span></code> for <code class="code highlight py python docutils literal highlight-python"><span class="n">period</span></code>. (<a class="reference external" href="https://amaranth-lang.org/rfcs/0066-simulation-time.html">RFC 66</a>)</p></li> |
228 | 228 | <li><p>Changed: <code class="xref py py-attr docutils literal notranslate"><span class="pre">Clock.period</span></code> now returns a <code class="xref py py-class docutils literal notranslate"><span class="pre">Period</span></code>. (<a class="reference external" href="https://amaranth-lang.org/rfcs/0066-simulation-time.html">RFC 66</a>)</p></li> |
229 | | -<li><p>Deprecated: Passing a <a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.13)"><code class="xref py py-class docutils literal notranslate"><span class="pre">float</span></code></a> of seconds or hertz to any of the methods/arguments now accepting a <code class="xref py py-class docutils literal notranslate"><span class="pre">Period</span></code>. (<a class="reference external" href="https://amaranth-lang.org/rfcs/0066-simulation-time.html">RFC 66</a>)</p></li> |
| 229 | +<li><p>Deprecated: Passing a <a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.14)"><code class="xref py py-class docutils literal notranslate"><span class="pre">float</span></code></a> of seconds or hertz to any of the methods/arguments now accepting a <code class="xref py py-class docutils literal notranslate"><span class="pre">Period</span></code>. (<a class="reference external" href="https://amaranth-lang.org/rfcs/0066-simulation-time.html">RFC 66</a>)</p></li> |
230 | 230 | <li><p>Deprecated: Passing <code class="code highlight py python docutils literal highlight-python"><span class="n">frequency</span><span class="o">=</span></code> to <code class="xref py py-meth docutils literal notranslate"><span class="pre">ResourceManager.add_clock_constraint</span></code>. (<a class="reference external" href="https://amaranth-lang.org/rfcs/0066-simulation-time.html">RFC 66</a>)</p></li> |
231 | 231 | <li><p>Deprecated: Passing <code class="code highlight py python docutils literal highlight-python"><span class="n">frequency</span><span class="o">=</span></code> to <code class="xref py py-class docutils literal notranslate"><span class="pre">Clock</span></code>. (<a class="reference external" href="https://amaranth-lang.org/rfcs/0066-simulation-time.html">RFC 66</a>)</p></li> |
232 | 232 | <li><p>Deprecated: <code class="xref py py-attr docutils literal notranslate"><span class="pre">Clock.frequency</span></code>. (<a class="reference external" href="https://amaranth-lang.org/rfcs/0066-simulation-time.html">RFC 66</a>)</p></li> |
@@ -499,7 +499,7 @@ <h3>Language changes<a class="headerlink" href="#id14" title="Link to this headi |
499 | 499 | <li><p>Added: <code class="xref py py-class docutils literal notranslate"><span class="pre">Memory</span></code> supports transparent read ports with read enable.</p></li> |
500 | 500 | <li><p>Changed: creating a <code class="xref py py-class docutils literal notranslate"><span class="pre">Signal</span></code> with a shape that is a <a class="reference internal" href="reference.html#amaranth.hdl.ShapeCastable" title="amaranth.hdl.ShapeCastable"><code class="xref py py-class docutils literal notranslate"><span class="pre">ShapeCastable</span></code></a> implementing <a class="reference internal" href="reference.html#amaranth.hdl.ShapeCastable.__call__" title="amaranth.hdl.ShapeCastable.__call__"><code class="xref py py-meth docutils literal notranslate"><span class="pre">ShapeCastable.__call__()</span></code></a> wraps the returned object using that method. (<a class="reference external" href="https://amaranth-lang.org/rfcs/0015-lifting-shape-castables.html">RFC 15</a>)</p></li> |
501 | 501 | <li><p>Changed: <a class="reference internal" href="reference.html#amaranth.hdl.Value.cast" title="amaranth.hdl.Value.cast"><code class="xref py py-meth docutils literal notranslate"><span class="pre">Value.cast()</span></code></a> casts <a class="reference internal" href="reference.html#amaranth.hdl.ValueCastable" title="amaranth.hdl.ValueCastable"><code class="xref py py-class docutils literal notranslate"><span class="pre">ValueCastable</span></code></a> objects recursively.</p></li> |
502 | | -<li><p>Changed: <a class="reference internal" href="reference.html#amaranth.hdl.Value.cast" title="amaranth.hdl.Value.cast"><code class="xref py py-meth docutils literal notranslate"><span class="pre">Value.cast()</span></code></a> treats instances of classes derived from both <a class="reference external" href="https://docs.python.org/3/library/enum.html#enum.Enum" title="(in Python v3.13)"><code class="xref py py-class docutils literal notranslate"><span class="pre">enum.Enum</span></code></a> and <a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><code class="xref py py-class docutils literal notranslate"><span class="pre">int</span></code></a> (including <a class="reference external" href="https://docs.python.org/3/library/enum.html#enum.IntEnum" title="(in Python v3.13)"><code class="xref py py-class docutils literal notranslate"><span class="pre">enum.IntEnum</span></code></a>) as enumerations rather than integers.</p></li> |
| 502 | +<li><p>Changed: <a class="reference internal" href="reference.html#amaranth.hdl.Value.cast" title="amaranth.hdl.Value.cast"><code class="xref py py-meth docutils literal notranslate"><span class="pre">Value.cast()</span></code></a> treats instances of classes derived from both <a class="reference external" href="https://docs.python.org/3/library/enum.html#enum.Enum" title="(in Python v3.14)"><code class="xref py py-class docutils literal notranslate"><span class="pre">enum.Enum</span></code></a> and <a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.14)"><code class="xref py py-class docutils literal notranslate"><span class="pre">int</span></code></a> (including <a class="reference external" href="https://docs.python.org/3/library/enum.html#enum.IntEnum" title="(in Python v3.14)"><code class="xref py py-class docutils literal notranslate"><span class="pre">enum.IntEnum</span></code></a>) as enumerations rather than integers.</p></li> |
503 | 503 | <li><p>Changed: <a class="reference internal" href="reference.html#amaranth.hdl.Value.matches" title="amaranth.hdl.Value.matches"><code class="xref py py-meth docutils literal notranslate"><span class="pre">Value.matches()</span></code></a> with an empty list of patterns returns <code class="docutils literal notranslate"><span class="pre">Const(1)</span></code> rather than <code class="docutils literal notranslate"><span class="pre">Const(0)</span></code>, to match the behavior of <code class="docutils literal notranslate"><span class="pre">with</span> <span class="pre">m.Case():</span></code>.</p></li> |
504 | 504 | <li><p>Changed: <code class="xref py py-func docutils literal notranslate"><span class="pre">Cat()</span></code> warns if an enumeration without an explicitly specified shape is used. (<a class="reference external" href="https://amaranth-lang.org/rfcs/0003-enumeration-shapes.html">RFC 3</a>)</p></li> |
505 | 505 | <li><p>Changed: <code class="docutils literal notranslate"><span class="pre">signed(0)</span></code> is no longer constructible. (The semantics of this shape were never defined.)</p></li> |
@@ -536,7 +536,7 @@ <h3>Toolchain changes<a class="headerlink" href="#id16" title="Link to this head |
536 | 536 | <li><p>Removed: (deprecated in 0.3) <code class="xref py py-meth docutils literal notranslate"><span class="pre">sim.Simulator.step()</span></code>.</p></li> |
537 | 537 | <li><p>Removed: (deprecated in 0.3) <code class="xref py py-mod docutils literal notranslate"><span class="pre">back.pysim</span></code>.</p></li> |
538 | 538 | <li><p>Removed: (deprecated in 0.3) support for invoking <code class="xref py py-func docutils literal notranslate"><span class="pre">back.rtlil.convert()</span></code> and <code class="xref py py-func docutils literal notranslate"><span class="pre">back.verilog.convert()</span></code> without an explicit <cite>ports=</cite> argument.</p></li> |
539 | | -<li><p>Removed: (deprecated in 0.3) <a class="reference external" href="https://docs.python.org/3/library/test.html#module-test" title="(in Python v3.13)"><code class="xref py py-mod docutils literal notranslate"><span class="pre">test</span></code></a>.</p></li> |
| 539 | +<li><p>Removed: (deprecated in 0.3) <a class="reference external" href="https://docs.python.org/3/library/test.html#module-test" title="(in Python v3.14)"><code class="xref py py-mod docutils literal notranslate"><span class="pre">test</span></code></a>.</p></li> |
540 | 540 | </ul> |
541 | 541 | </section> |
542 | 542 | <section id="id17"> |
@@ -577,7 +577,7 @@ <h3>Migrating from version 0.2<a class="headerlink" href="#migrating-from-versio |
577 | 577 | <section id="id18"> |
578 | 578 | <h3>Language changes<a class="headerlink" href="#id18" title="Link to this heading"></a></h3> |
579 | 579 | <ul class="simple"> |
580 | | -<li><p>Added: <a class="reference internal" href="reference.html#amaranth.hdl.Value" title="amaranth.hdl.Value"><code class="xref py py-class docutils literal notranslate"><span class="pre">Value</span></code></a> can be used with <a class="reference external" href="https://docs.python.org/3/library/functions.html#abs" title="(in Python v3.13)"><code class="xref py py-func docutils literal notranslate"><span class="pre">abs()</span></code></a>.</p></li> |
| 580 | +<li><p>Added: <a class="reference internal" href="reference.html#amaranth.hdl.Value" title="amaranth.hdl.Value"><code class="xref py py-class docutils literal notranslate"><span class="pre">Value</span></code></a> can be used with <a class="reference external" href="https://docs.python.org/3/library/functions.html#abs" title="(in Python v3.14)"><code class="xref py py-func docutils literal notranslate"><span class="pre">abs()</span></code></a>.</p></li> |
581 | 581 | <li><p>Added: <a class="reference internal" href="reference.html#amaranth.hdl.Value.rotate_left" title="amaranth.hdl.Value.rotate_left"><code class="xref py py-meth docutils literal notranslate"><span class="pre">Value.rotate_left()</span></code></a> and <a class="reference internal" href="reference.html#amaranth.hdl.Value.rotate_right" title="amaranth.hdl.Value.rotate_right"><code class="xref py py-meth docutils literal notranslate"><span class="pre">Value.rotate_right()</span></code></a>.</p></li> |
582 | 582 | <li><p>Added: <a class="reference internal" href="reference.html#amaranth.hdl.Value.shift_left" title="amaranth.hdl.Value.shift_left"><code class="xref py py-meth docutils literal notranslate"><span class="pre">Value.shift_left()</span></code></a> and <a class="reference internal" href="reference.html#amaranth.hdl.Value.shift_right" title="amaranth.hdl.Value.shift_right"><code class="xref py py-meth docutils literal notranslate"><span class="pre">Value.shift_right()</span></code></a>.</p></li> |
583 | 583 | <li><p>Added: <a class="reference internal" href="reference.html#amaranth.hdl.ValueCastable" title="amaranth.hdl.ValueCastable"><code class="xref py py-class docutils literal notranslate"><span class="pre">ValueCastable</span></code></a>.</p></li> |
|
0 commit comments