build.dsl: allow assertions on subsignal widths.
authorwhitequark <cz@m-labs.hk>
Mon, 8 Jul 2019 10:32:41 +0000 (10:32 +0000)
committerwhitequark <cz@m-labs.hk>
Mon, 8 Jul 2019 10:42:06 +0000 (10:42 +0000)
commit72e43b1c23a0a642567471d9a55e1707c6bcb113
treedd7fb962ef40724d122e97af636452fa1614378b
parent34c7ada755e386c984a73572d1a37b90d3078959
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