[14] | 1 | |
---|
| 2 | decompose_child - Partitions Node components into child nodes. |
---|
| 3 | _________________________________________________________________ |
---|
| 4 | |
---|
| 5 | decompose_child -n <groupname> [-f <filename>] [-c] [-v] [-t] [-l] |
---|
| 6 | [<components>] |
---|
| 7 | |
---|
| 8 | This command partitions the current Node into several new children nodes |
---|
| 9 | according to user-specified groups. The user may specify several groups by |
---|
| 10 | name [-n] sequentially on the command line. Within each group a list of |
---|
| 11 | components (either variables or child nodes) can be placed. The flags [-c] |
---|
| 12 | [-v] toggle whether element names are interpreted as child instances or |
---|
| 13 | variables (default is instances [-c]). Element names can be loaded from a |
---|
| 14 | file as well using the [-f] flag. |
---|
| 15 | |
---|
| 16 | By specifying a variable to be grouped, any object (e.g., Table, Latch, |
---|
| 17 | Child) that PRODUCES that variable is included in the newly created child |
---|
| 18 | node for that group. |
---|
| 19 | |
---|
| 20 | Command options: |
---|
| 21 | |
---|
| 22 | -n <groupname> |
---|
| 23 | Define new group |
---|
| 24 | |
---|
| 25 | -f <filename> |
---|
| 26 | Load names from file |
---|
| 27 | |
---|
| 28 | -c |
---|
| 29 | Interpret names that follow as child instances to group |
---|
| 30 | |
---|
| 31 | -v |
---|
| 32 | Interpret names that follow as variables |
---|
| 33 | |
---|
| 34 | -l |
---|
| 35 | Include all latch output nodes (and therefore latches) in group |
---|
| 36 | |
---|
| 37 | -t |
---|
| 38 | Include all combinational tables in group. Examples: |
---|
| 39 | |
---|
| 40 | decompose_child -n c1 -v G1 G2 -n c2 IA IB |
---|
| 41 | |
---|
| 42 | Place variables G1 and G2 into a new child node c1 and child nodes IA and IB |
---|
| 43 | into a new child node c2. |
---|
| 44 | |
---|
| 45 | Example: |
---|
| 46 | |
---|
| 47 | decompose_child -n ckt_inst child1 -f myinstances -v var1 -n latch_inst -l |
---|
| 48 | |
---|
| 49 | This groups the subckts child1 and those listed in the file myinstances, as |
---|
| 50 | well as the variable var1 into a subckt called 'ckt_inst'. It also groups |
---|
| 51 | all the latches into a subckt called 'latch_inst'. |
---|
| 52 | _________________________________________________________________ |
---|
| 53 | |
---|
| 54 | Last updated on 20100410 00h02 |
---|