Skip to content

Introduce Bitbone dom aw and BitboneMm dom awΒ #1126

@martijnbastiaan

Description

@martijnbastiaan

We constantly write things like:

Wishbone dom 'Standard (SwcccRemBusWidth otherWb) (Bytes 4)

and:

( ToConstBwd Mm
, Wishbone dom 'Standard (SwcccRemBusWidth otherWb) (Bytes 4)
)

This is quite verbose and ubiquitous, so I think this warrants to type synonyms:

type Bitbone dom addressWidth = Wishbone dom 'Standard addressWidth (Bytes 4)

and

type BitboneMm dom addressWidth =
  ( ToConstBwd Mm
  , Wishbone dom 'Standard addressWidth (Bytes 4)
  )

@lmbollen Does this correspond to what we were talking about in the office?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions