build.plat: skip clock constraints on unused signals.
authorwhitequark <whitequark@whitequark.org>
Wed, 20 May 2020 05:35:47 +0000 (05:35 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 31 Dec 2021 13:32:02 +0000 (13:32 +0000)
commit06c4baf44efaa96095dda125d45060f8004827ca
tree8405710ffaad0336f020bf42128a982114e325e1
parenteb27295b083513b868e9c5ea7b2a842c7663823b
build.plat: skip clock constraints on unused signals.

It's not very nice to add more internal mutable state to Platform
related classes, but our whole approach for Platform is inherently
stateful, and other solutions (like changing every individual vendor
platform to check for unused signals) are even worse.

Fixes #374.
nmigen/build/plat.py