You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* `RFC 39`_: Change semantics of no-argument ``m.Case()``
79
+
* `RFC 42`_: ``Const`` from shape-castable
78
80
* `RFC 43`_: Rename ``reset=`` to ``init=``
79
81
* `RFC 45`_: Move ``hdl.Memory`` to ``lib.Memory``
80
82
* `RFC 46`_: Change ``Shape.cast(range(1))`` to ``unsigned(0)``
@@ -105,6 +107,7 @@ Language changes
105
107
* Changed: :py:`Value.matches()` with no patterns is :py:`Const(0)` instead of :py:`Const(1)`. (`RFC 39`_)
106
108
* Changed: :py:`Signal(range(stop), init=stop)` warning has been changed into a hard error and made to trigger on any out-of range value.
107
109
* Changed: :py:`Signal(range(0))` is now valid without a warning.
110
+
* Changed: :py:`Const(value, shape)` now accepts shape-castable objects as :py:`shape`. (`RFC 42`_)
108
111
* Changed: :py:`Shape.cast(range(1))` is now :py:`unsigned(0)`. (`RFC 46`_)
109
112
* Changed: the :py:`reset=` argument of :class:`Signal`, :meth:`Signal.like`, :class:`amaranth.lib.wiring.Member`, :class:`amaranth.lib.cdc.FFSynchronizer`, and :py:`m.FSM()` has been renamed to :py:`init=`. (`RFC 43`_)
110
113
* Changed: :class:`Shape` has been made immutable and hashable.
0 commit comments