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