build.plat: skip clock constraints on unused signals.
authorwhitequark <whitequark@whitequark.org>
Wed, 20 May 2020 05:35:47 +0000 (05:35 +0000)
committerwhitequark <whitequark@whitequark.org>
Wed, 20 May 2020 05:35:47 +0000 (05:35 +0000)
commit3420b683a30f99c85a26b8e849f85622b1df35d7
tree7e32104089ae99f6ef82ab115487d994c0cc0039
parent892cff059b37ef343bdadcd003ecf64b3795541f
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