Skip to content

Document OPAQUE in clash-prelude API documentation #3104

@christiaanb

Description

@christiaanb

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions