hdl.ast: add Signal.range(...), to replace Signal(min=..., max=...).
authorwhitequark <cz@m-labs.hk>
Sun, 8 Sep 2019 12:10:31 +0000 (12:10 +0000)
committerwhitequark <cz@m-labs.hk>
Sun, 8 Sep 2019 12:10:31 +0000 (12:10 +0000)
commite50744135f2abaf34d204d0b714ab4fce0bbf163
tree7eebd92597ca40d03c8237665926e74eb16cd191
parent5f2e95b947241347c8d8e4fefd0fa56122e40f0e
hdl.ast: add Signal.range(...), to replace Signal(min=..., max=...).

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