[breaking-change] Factor out "display_7seg" resource.
authorwhitequark <whitequark@whitequark.org>
Thu, 3 Oct 2019 02:56:47 +0000 (02:56 +0000)
committerwhitequark <whitequark@whitequark.org>
Thu, 3 Oct 2019 02:59:20 +0000 (02:59 +0000)
commit5f30a7890a60824ac0a76c409d10b5df0e3c043f
treead122181a047dde390d9985608a27802ad41e2b0
parent1da974cdacebc0d4e5e9f0864b374afe3c6b8102
[breaking-change] Factor out "display_7seg" resource.

With the expectation that "display_9seg", "display_14seg" and
"display_16seg" will be forthcoming.

There are no provisions in this resource itself for multiplexing
the display. It is expected that on boards with multiplexed displays,
an additional resource "display_7seg_ctrl" will be provided, and it
would have either an n-bit signal "sel" (binary encoded) or an n-bit
signal "en" (one-hot encoded). (This may be revisited in the future.)

Fixes #17.
nmigen_boards/dev/user.py
nmigen_boards/mercury.py