hdl.dsl: add Default(), an alias for Case() with no arguments.
authorwhitequark <whitequark@whitequark.org>
Sun, 8 Sep 2019 12:24:18 +0000 (12:24 +0000)
committerwhitequark <whitequark@whitequark.org>
Sun, 8 Sep 2019 12:24:18 +0000 (12:24 +0000)
commit3f6abc0b7a12fffdd8e05c0d5811af3de459d13f
tree7c5de93f4420fb140c70f89a82f8e44abdcb9a6c
parenteb04a2509eef800a82c89474e91e5bc0cf49241f
hdl.dsl: add Default(), an alias for Case() with no arguments.

Fixes #197.
nmigen/hdl/dsl.py
nmigen/test/test_hdl_dsl.py