build.dsl: accept Pins(invert=True).
authorwhitequark <whitequark@whitequark.org>
Thu, 3 Oct 2019 02:44:43 +0000 (02:44 +0000)
committerwhitequark <whitequark@whitequark.org>
Thu, 3 Oct 2019 02:44:43 +0000 (02:44 +0000)
commit751ae33fe1a9b34ae9e17e3558fc54df8f74f055
tree4ca738296ef1fee0d568e43208689cdfd78531d2
parent9458de207927918a848330ab799d63d34dd89b79
build.dsl: accept Pins(invert=True).

The PinsN() form is still preferred, but Pins(invert=) form is useful
for code generic over pin polarity.
nmigen/build/dsl.py
nmigen/test/test_build_dsl.py