build.res: if not specified, request resource #0.
authorwhitequark <cz@m-labs.hk>
Mon, 3 Jun 2019 02:54:17 +0000 (02:54 +0000)
committerwhitequark <cz@m-labs.hk>
Mon, 3 Jun 2019 02:54:17 +0000 (02:54 +0000)
commit8960936c952180904b88252aa7641445a97498e5
tree8d8b3240e357c77fd4433330eed81b5e9b3d11ab
parent022f9c65827ffab386be79f1d3c407d42c873aaf
build.res: if not specified, request resource #0.

This markedly differs from oMigen system, which would request
consecutive resources. The difference is deliberate; most resources
are singular, so it does not matter for them, and for resources where
it does matter, which pins are requested should not depend on order
of execution of `platform.request`.
examples/blinky.py
nmigen/build/res.py