hdl.dsl: reject name mismatch in `m.domains.<name> +=`.
authorwhitequark <whitequark@whitequark.org>
Thu, 6 Feb 2020 16:13:59 +0000 (16:13 +0000)
committerwhitequark <whitequark@whitequark.org>
Thu, 6 Feb 2020 16:13:59 +0000 (16:13 +0000)
commit3df429703c4067baf7718c00cb21d733d4454492
treedb747e238cc016ee15137125cbbb9de1b998b156
parent86b57fe6b6083daf0e95bab29cf2ab4cd1172141
hdl.dsl: reject name mismatch in `m.domains.<name> +=`.

This would violate invariants later in the elaboration process.

Fixes #282.
nmigen/hdl/dsl.py
nmigen/test/test_hdl_dsl.py