You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is likely to cause issues and should be fixed.
The text was updated successfully, but these errors were encountered:
Lunaphied
changed the title
Synchronizers are affected by EnableInserter and ResetInserter
FFSynchronizer is affected by EnableInserter and ResetInserter
Dec 13, 2021
Regarding ResetInserter: I think that's OK. We have a reset_less argument for FFSynchronizer and it's currently True so it's not affected, but in any case, if an outer module explicitly wants to reset something and the inner one opts into it by specifying reset_less=False then that should happen.
Regarding EnableInserter: I think that's also OK. Yes, randomly wrapping RTL with EnableInserter can break it. The purpose of EnableInserter is really clock gating conversion; you can't easily insert clock gates in FPGA designs but you can easily insert enable controls, so any time you want to gate the clock on a subset of cycles you use that. So the same thing happening with FFSynchronizer is expected and reasonable, I think.
This is likely to cause issues and should be fixed.
The text was updated successfully, but these errors were encountered: