clash-lang / clash-protocols

a battery-included library for dataflow protocols
Other
19 stars 7 forks source link

Add `forceResetSanity` for all protocols #75

Closed lmbollen closed 5 months ago

lmbollen commented 6 months ago

forceResetSanity ensures combinatorially that a component does not produce data or acknowledge transactions while in Reset.

Prior to this PR, this functionality was only implemented for Df. This pull requests adds a generic version based on the IdleCircuit typeclass to be use internally.