hdl.ir: raise DomainError if a domain is used but not defined.
authorwhitequark <cz@m-labs.hk>
Sat, 3 Aug 2019 15:31:00 +0000 (15:31 +0000)
committerwhitequark <cz@m-labs.hk>
Sat, 3 Aug 2019 15:31:24 +0000 (15:31 +0000)
commit09ded52aea6d89e438e759e702f430db3f60620e
tree8fa392ab0d4513d4e4d970fce4e18f0ec039bf06
parenta384ad2a8a0802b3f8096662340ab6e52bd9f711
hdl.ir: raise DomainError if a domain is used but not defined.

Before this commit, a KeyError would be raised elsewhere in guts of
hdl.ir, which is not helpful.
nmigen/hdl/ir.py
nmigen/test/test_hdl_ir.py