build.res: if not specified, request resource #0.
authorwhitequark <whitequark@whitequark.org>
Mon, 3 Jun 2019 02:54:17 +0000 (02:54 +0000)
committerwhitequark <whitequark@whitequark.org>
Mon, 3 Jun 2019 02:54:17 +0000 (02:54 +0000)
commitf417725b10de30a1dbf0c6024bec316cccf685f9
tree8d8b3240e357c77fd4433330eed81b5e9b3d11ab
parentdc17d06fe98c5266b0c024e963a83436c3fca3f6
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