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
Remove `amaranth.lib.coding` and all classes in it.
11
+
12
+
## Motivation
13
+
[motivation]: #motivation
14
+
15
+
This module has been essentially inherited from Migen and doesn't meet the bar for inclusion in Amaranth standard library. Most of the functionality included is so simple that it's essentially easier to just inline an implementation. The rest of it would be better served by a function than a module.
All classes within `amaranth.lib.coding` are deprecated in Amaranth 0.5 and removed (along with the module) in Amaranth 0.6. The Gray encoder is moved to `lib.fifo` as a private implementation detail.
- This module is out of place in the standard library.
36
+
- It has not seen much use and is trivially implemented outside of it.
37
+
- Downstream consumers tend to inline the logic anyway.
38
+
39
+
## Unresolved questions
40
+
[unresolved-questions]: #unresolved-questions
41
+
42
+
None.
43
+
44
+
## Future possibilities
45
+
[future-possibilities]: #future-possibilities
46
+
47
+
The functionality could be brought back at a future point with a more suitable lightweight interface (as functions instead of modules), when the core language is flexible enough to support that.
0 commit comments