Learning Bluespec

Attributes

Definition

Attributes are used to guide the compiler. The attribute syntax is:

(* attribute, attribute *)

Multiple attributes can be written together on a single line:

(* synthesize, always_ready="read, subifc.enq" *)

Or attributes can be written on multiple lines:

(* synthesize*) (* always_ready="read, subifc.enq" *)

The attribute declaration is placed immediately before the object it is modifying. The attribute will be applied to the first attribute construct following the declaration.

BSV Attributes

Module Generation Attributes

Scheduling Attributes

Port Protocol Attributes

Documentation Attributes

Input Clocks and Reset Attributes

Subpages (22):

  Sign in   Home   Sitemap   Terms   Report Abuse   Print  |  Powered by Google Sites