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)
commitc8c741f7e4f9b66bcb6d613f8c90be814dd21c3d
treedb747e238cc016ee15137125cbbb9de1b998b156
parent23d889bcf1d34f9a9d28a7b18fca0179dcbb60db
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