hdl.ast: add Value.matches(), accepting same language as Case().
authorwhitequark <cz@m-labs.hk>
Sat, 14 Sep 2019 21:06:12 +0000 (21:06 +0000)
committerwhitequark <cz@m-labs.hk>
Sat, 14 Sep 2019 21:06:12 +0000 (21:06 +0000)
commit1a47729a8a229f0d21bdec84454b1196bd614433
tree2c11c37452efbfbbfec11b3eb296c184aefba314
parent9b00763ae545d9078f2ff1393d7359e701823acc
hdl.ast: add Value.matches(), accepting same language as Case().

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