Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions amaranth/hdl/ast.py
Original file line number Diff line number Diff line change
Expand Up @@ -711,16 +711,6 @@ class Const(Value):
"""
src_loc = None

# TODO(amaranth-0.5): remove
@staticmethod
@deprecated("instead of `Const.normalize(value, shape)`, use `Const(value, shape).value`")
def normalize(value, shape):
mask = (1 << shape.width) - 1
value &= mask
if shape.signed and value >> (shape.width - 1):
value |= ~mask
return value

@staticmethod
def cast(obj):
"""Converts ``obj`` to an Amaranth constant.
Expand Down
67 changes: 0 additions & 67 deletions amaranth/lib/scheduler.py

This file was deleted.

19 changes: 19 additions & 0 deletions docs/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,25 @@ Changelog
This document describes changes to the public interfaces in the Amaranth language and standard library. It does not include most bug fixes or implementation changes.


Version 0.5 (unreleased)
========================

Language changes
----------------

.. currentmodule:: amaranth.hdl

* Removed: (deprecated in 0.4) :meth:`Const.normalize`. (`RFC 5`_)


Standard library changes
------------------------

.. currentmodule:: amaranth.lib

* Removed: (deprecated in 0.4) :mod:`amaranth.lib.scheduler`. (`RFC 19`_)


Version 0.4
===========

Expand Down
99 changes: 0 additions & 99 deletions tests/test_lib_scheduler.py

This file was deleted.