hdl.ir: raise DomainError if a domain is used but not defined.
authorwhitequark <whitequark@whitequark.org>
Sat, 3 Aug 2019 15:31:00 +0000 (15:31 +0000)
committerwhitequark <whitequark@whitequark.org>
Sat, 3 Aug 2019 15:31:24 +0000 (15:31 +0000)
commitfc846532c7090687f6de32c8c36f1d805c291c30
tree8fa392ab0d4513d4e4d970fce4e18f0ec039bf06
parentfdb0c5a6bc5f2e77ded421337b17f225f72c0539
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