amaranth/nmigen/hdl
awygle ea94c9cc45
hdl.rec: proxy operators correctly.
Commit abbebf8e used __getattr__ to proxy Value methods called on 
Record. However, that did not proxy operators like __add__ because
Python looks up the special operator methods directly on the class
and does not run __getattr__ if they are missing.

Instead of using __getattr__, explicitly enumerate and wrap every
Value method that should be proxied. This also ensures backwards
compatibility if more methods are added to Value later.

Fixes #533.
2020-11-09 20:20:25 +00:00
..
__init__.py Remove everything deprecated in nmigen 0.1. 2020-01-12 13:59:26 +00:00
ast.py hdl.ast: deprecate UserValue in favor of ValueCastable. 2020-11-06 02:21:53 +00:00
cd.py Correctly handle resets in AsyncFIFO. 2020-03-14 23:26:07 +00:00
dsl.py hdl.dsl: error on Elif immediately nested in an If. 2020-10-22 13:23:06 +00:00
ir.py hdl.ir: Update error message for Instance arguments 2020-10-18 23:55:46 +00:00
mem.py hdl.mem: document ReadPort and WritePort. 2020-09-17 15:47:46 +00:00
rec.py hdl.rec: proxy operators correctly. 2020-11-09 20:20:25 +00:00
xfrm.py hdl.xfrm: preserve allow_reset_less when transforming ResetSignal. 2020-06-06 11:43:25 +00:00