|
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.dev66 documentation</title> |
| 7 | + <title>Changelog — Amaranth language & toolchain 0.6.0.dev67 documentation</title> |
8 | 8 | <link rel="stylesheet" type="text/css" href="_static/pygments.css?v=80d5e7a1" />
|
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 data-url_root="./" id="documentation_options" src="_static/documentation_options.js?v=c0b5bcde"></script> |
| 20 | + <script data-url_root="./" id="documentation_options" src="_static/documentation_options.js?v=64cd38c7"></script> |
21 | 21 | <script src="_static/doctools.js?v=888ff710"></script>
|
22 | 22 | <script src="_static/sphinx_highlight.js?v=4825356b"></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.dev66 |
| 44 | + 0.6.0.dev67 |
45 | 45 | </div>
|
46 | 46 | <div role="search">
|
47 | 47 | <form id="rtd-search-form" class="wy-form" action="search.html" method="get">
|
@@ -208,7 +208,7 @@ <h3>Toolchain changes<a class="headerlink" href="#toolchain-changes" title="Perm
|
208 | 208 | <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>
|
209 | 209 | <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>
|
210 | 210 | <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>
|
211 |
| -<li><p>Deprecated: Passing a <a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.12)"><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> |
| 211 | +<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> |
212 | 212 | <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>
|
213 | 213 | <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>
|
214 | 214 | <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>
|
@@ -455,7 +455,7 @@ <h3>Language changes<a class="headerlink" href="#id12" title="Permalink to this
|
455 | 455 | <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>
|
456 | 456 | <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>
|
457 | 457 | <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>
|
458 |
| -<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.12)"><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.12)"><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.12)"><code class="xref py py-class docutils literal notranslate"><span class="pre">enum.IntEnum</span></code></a>) as enumerations rather than integers.</p></li> |
| 458 | +<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> |
459 | 459 | <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>
|
460 | 460 | <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>
|
461 | 461 | <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>
|
@@ -492,7 +492,7 @@ <h3>Toolchain changes<a class="headerlink" href="#id14" title="Permalink to this
|
492 | 492 | <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>
|
493 | 493 | <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>
|
494 | 494 | <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>
|
495 |
| -<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.12)"><code class="xref py py-mod docutils literal notranslate"><span class="pre">test</span></code></a>.</p></li> |
| 495 | +<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> |
496 | 496 | </ul>
|
497 | 497 | </section>
|
498 | 498 | <section id="id15">
|
@@ -533,7 +533,7 @@ <h3>Migrating from version 0.2<a class="headerlink" href="#migrating-from-versio
|
533 | 533 | <section id="id16">
|
534 | 534 | <h3>Language changes<a class="headerlink" href="#id16" title="Permalink to this heading"></a></h3>
|
535 | 535 | <ul class="simple">
|
536 |
| -<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.12)"><code class="xref py py-func docutils literal notranslate"><span class="pre">abs()</span></code></a>.</p></li> |
| 536 | +<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> |
537 | 537 | <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>
|
538 | 538 | <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>
|
539 | 539 | <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