build.dsl: allow assertions on subsignal widths.
authorwhitequark <whitequark@whitequark.org>
Mon, 8 Jul 2019 10:32:41 +0000 (10:32 +0000)
committerwhitequark <whitequark@whitequark.org>
Mon, 8 Jul 2019 10:42:06 +0000 (10:42 +0000)
commitf0c1c2cfeb5c64b90f0b602ff17c374c788b630f
treedd7fb962ef40724d122e97af636452fa1614378b
parenta7fbff94d84fbfb08f63d776b9329aa770bc5216
build.dsl: allow assertions on subsignal widths.

This is useful when building abstractions around resources where
the pin names are user-specified.

Fixes #129.
nmigen/build/dsl.py
nmigen/test/test_build_dsl.py