hdl.ast: check type of Sample(domain=...).
authorwhitequark <cz@m-labs.hk>
Sun, 8 Sep 2019 23:55:05 +0000 (23:55 +0000)
committerwhitequark <cz@m-labs.hk>
Sun, 8 Sep 2019 23:55:05 +0000 (23:55 +0000)
commit42d5ba784ab67fdaec8eac1bfa1772e89e576c75
tree8fe01597cad1202713efb40797fa776e925d9ada
parentfd31ffb01423cdf0e775ee8e8ff5b16c86b95577
hdl.ast: check type of Sample(domain=...).

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