build.dsl: accept Pins(invert=True).
authorwhitequark <cz@m-labs.hk>
Thu, 3 Oct 2019 02:44:43 +0000 (02:44 +0000)
committerwhitequark <cz@m-labs.hk>
Thu, 3 Oct 2019 02:44:43 +0000 (02:44 +0000)
commitdda5a167881ddbad69b372a28e208db5fafe4220
tree4ca738296ef1fee0d568e43208689cdfd78531d2
parent019cbb22c7e019ab239eb0b3e9f9a3fa193934a5
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