Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| language:attributes [2024/08/07 10:51] – created 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: | ||
| + | <code act> | ||
| + | ... | ||
| + | prs { | ||
| + | | ||
| + | } | ||
| + | ... | ||
| + | </ | ||
| + | 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; | ||
| + | </ | ||