|
ACT Library
|
Structure that holds a prs sub-language body. This consists of a linked-list of individual items in the prs body. More...
#include <lang.h>
Public Attributes | |
| struct act_prs_lang * | next |
| the linked list next pointer field | |
| unsigned int | type:3 |
| union { | |
| struct { | |
| act_attr_t * attr | |
| act_prs_expr_t * e | |
| the guard of the production rule More... | |
| ActId * id | |
| unsigned int arrow_type:2 | |
| unsigned int dir:1 | |
| unsigned int label:1 | |
| } one | |
| struct { | |
| act_attr_t * attr | |
| any attribute associated with the gate More... | |
| ActId * g | |
| ActId * s | |
| the source terminal More... | |
| ActId * d | |
| the drain terminal More... | |
| ActId * _g | |
| act_size_spec_t * sz | |
| sizing specification More... | |
| } p | |
| struct { | |
| const char * id | |
| loop id More... | |
| Expr * lo | |
| low range (NULL means 0..hi-1) More... | |
| Expr * hi | |
| high range More... | |
| struct act_prs_lang * p | |
| loop body More... | |
| } l | |
| } | u |
Structure that holds a prs sub-language body. This consists of a linked-list of individual items in the prs body.
| ActId* act_prs_lang::_g |
the complemented gate (used for p-type and transmission gate)
| unsigned int act_prs_lang::arrow_type |
The kind of production rule: normal (->) = 0, combinational (=>) = 1, c-element (#>) = 2
| act_attr_t* act_prs_lang::attr |
any attribute associated with the gate
any attribute associated with the production rule
| ActId* act_prs_lang::d |
the drain terminal
| unsigned int act_prs_lang::dir |
direction for the right hand side 0 = -, 1 = +
| act_prs_expr_t* act_prs_lang::e |
the guard of the production rule
| ActId* act_prs_lang::g |
the gate terminal (used for n-type and transmission gate)
| Expr* act_prs_lang::hi |
high range
| ActId* act_prs_lang::id |
the variable on the right hand side of the prs; re-used as a char * if it is a label
| const char* act_prs_lang::id |
loop id
| struct { ... } act_prs_lang::l |
used for ACT_PRS_LOOP. Also used by ACT_PRS_TREE and ACT_PRS_SUBCKT. In this case, id/lo/hi are all unused.
| unsigned int act_prs_lang::label |
1 if it has a label on the RHS, 0 otherwise
| Expr* act_prs_lang::lo |
low range (NULL means 0..hi-1)
| struct act_prs_lang* act_prs_lang::next |
the linked list next pointer field
| struct { ... } act_prs_lang::one |
information for one prs element, used for ACT_PRS_RULE
| struct { ... } act_prs_lang::p |
pass gate: use g for n-type, use _g for p-type (full transmission gate uses both). Used by ACT_PRS_GATE and ACT_PRS_CAP (cap uses s and d fields)
| struct act_prs_lang* act_prs_lang::p |
loop body
| ActId* act_prs_lang::s |
the source terminal
| act_size_spec_t* act_prs_lang::sz |
sizing specification
| unsigned int act_prs_lang::type |
an act_prs_lang_type that describes what the prs entry is
| union { ... } act_prs_lang::u |