hdl.ast: add Value.matches(), accepting same language as Case().
authorwhitequark <whitequark@whitequark.org>
Sat, 14 Sep 2019 21:06:12 +0000 (21:06 +0000)
committerwhitequark <whitequark@whitequark.org>
Sat, 14 Sep 2019 21:06:12 +0000 (21:06 +0000)
commite8f79c5539a5988ab26c521b6e170eba6ab10a69
tree2c11c37452efbfbbfec11b3eb296c184aefba314
parentf292a1977c959802eee38d6b9e97f71988f12e4d
hdl.ast: add Value.matches(), accepting same language as Case().

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