build.dsl: allow strings to be used as connector numbers.
authorJaro Habiger <jarohabiger@googlemail.com>
Sun, 26 Jan 2020 17:35:41 +0000 (18:35 +0100)
committerwhitequark <whitequark@whitequark.org>
Fri, 31 Jan 2020 03:11:34 +0000 (03:11 +0000)
commit4a11e29705fd65624d8f85b34fa24b211f619e9e
tree1070027a8a71d0eb275f1d19db236d5a9a16a26b
parent5625d85872b94e5fcecc97701088b8a2fa545d31
build.dsl: allow strings to be used as connector numbers.

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