Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
language:attributes [2024/08/07 10:58] – rajit | language:attributes [2024/08/07 11:11] (current) – [Attributes] rajit | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Attributes ====== | ====== Attributes ====== | ||
- | ACT provides a mechanism to specify user-customizable // | + | ACT provides a mechanism to specify user-customizable // |
+ | ===== Production rule attributes ===== | ||
Production rule attributes are specified in the following way: | Production rule attributes are specified in the following way: | ||
Line 7: | Line 8: | ||
... | ... | ||
prs { | prs { | ||
- | [attrib=value] a & b -> c- | + | [attrib1=value1; attrib2=value2] a & b -> c- |
} | } | ||
... | ... | ||
</ | </ | ||
+ | Production rule attributes are processed by netlist generation and simulation tools. | ||
+ | * [[tools: | ||
+ | * [[tools: | ||
+ | |||
+ | The list of production rule attributes recognized by ACT is user-customizable, | ||
+ | |||
+ | ===== Instance attributes ===== | ||
+ | |||
+ | The other category of attributes is the //instance attribute// | ||
+ | |||
+ | The syntax is: | ||
+ | <code act> | ||
+ | bool a; | ||
+ | a @ [attrib1=value1; | ||
+ | </ | ||