hdl.ast: add Signal.range(...), to replace Signal(min=..., max=...).
authorwhitequark <whitequark@whitequark.org>
Sun, 8 Sep 2019 12:10:31 +0000 (12:10 +0000)
committerwhitequark <whitequark@whitequark.org>
Sun, 8 Sep 2019 12:10:31 +0000 (12:10 +0000)
commitccfbccc044e32492eb8f44c3157a1e1449d9097f
tree7eebd92597ca40d03c8237665926e74eb16cd191
parent5e9587bbbd46dfb258f1bcb6be5ecd9ac5fe5daf
hdl.ast: add Signal.range(...), to replace Signal(min=..., max=...).

Fixes #196.
nmigen/hdl/ast.py
nmigen/test/test_hdl_ast.py