build.res: allow requesting raw ports, with dir="-".
authorwhitequark <whitequark@whitequark.org>
Mon, 3 Jun 2019 03:17:20 +0000 (03:17 +0000)
committerwhitequark <whitequark@whitequark.org>
Mon, 3 Jun 2019 03:36:32 +0000 (03:36 +0000)
commitcd6488c782312f75c2ee0f7b3200ac57f2f81960
tree4e0fb81ba60f3f0c00e9a561de599b9c3b33f2b0
parentc30617fc05e1656e9ba1da07c6b73853093ab0d2
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