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
When you want the Clash compiler to make a separate file for a function you can annotate the function with an OPAQUE pragma. Currently, this only seems to be documented in either the user guide or the tutorial. It probably should be documented in the clash-prelude API as well. Places we could consider:
Clash.Annotations.SynthesisAttributes
Clash.Annotations.TopEntity
Clash.Annotations.Primitive
We could simply link back to the relevant section of the user-guide/tutorial from those places.