build.res: allow requesting raw ports, with dir="-".
authorwhitequark <cz@m-labs.hk>
Mon, 3 Jun 2019 03:17:20 +0000 (03:17 +0000)
committerwhitequark <cz@m-labs.hk>
Mon, 3 Jun 2019 03:36:32 +0000 (03:36 +0000)
commitef3cd6f3839e3a57ba2b874d9ddb848f507a2c6c
tree4e0fb81ba60f3f0c00e9a561de599b9c3b33f2b0
parentfaf2dc1dfbdc0aec59bcc0766567637374b6ebcb
build.res: allow requesting raw ports, with dir="-".

This provides an escape hatch for the case where the nMigen platform
code is not flexible enough, and a IO buffer primitive needs to be
instantiated directly.
nmigen/build/res.py
nmigen/test/test_build_res.py