amaranth/nmigen/hdl
whitequark 706bfaf5e1 hdl.ast: deprecate Signal.{range,enum}.
Although constructor methods can improve clarity, there are many
contexts in which it is useful to use range() as a shape: notably
Layout, but also Const and AnyConst/AnyValue. Instead of duplicating
these constructor methods everywhere (which is not even easily
possible for Layout), use casting to Shape, introduced in 6aabdc0a.

Fixes #225.
2019-10-11 13:07:42 +00:00
..
__init__.py hdl.ast: add an explicit Shape class, included in prelude. 2019-10-11 12:52:41 +00:00
ast.py hdl.ast: deprecate Signal.{range,enum}. 2019-10-11 13:07:42 +00:00
cd.py hdl.cd: add negedge clock domains. 2019-08-31 22:05:48 +00:00
dsl.py Consistently use {!r}, not '{!r}' in diagnostics. 2019-10-11 11:47:42 +00:00
ir.py Consistently use {!r}, not '{!r}' in diagnostics. 2019-10-11 11:47:42 +00:00
mem.py hdl.ast: deprecate Signal.{range,enum}. 2019-10-11 13:07:42 +00:00
rec.py hdl.ast: add an explicit Shape class, included in prelude. 2019-10-11 12:52:41 +00:00
xfrm.py Consistently use {!r}, not '{!r}' in diagnostics. 2019-10-11 11:47:42 +00:00