source: vis_dev/vis-2.3/share/help/collapse_childCmd.txt @ 60

Last change on this file since 60 was 14, checked in by cecile, 13 years ago

vis2.3

File size: 1.4 KB
Line 
1
2  collapse_child - Collapses a parent (which is the current node) and a given
3  child node into the parent
4     _________________________________________________________________
5
6   collapse_child [-h] [-v] <child_instance_name>
7
8   This command collapses the given child into the current node. After this
9   command, the number of children of the current node will decrease by one.
10   The variables in the child node will be renamed to reflect their original
11   name.  For  example, if the current node is named "foo" and it has two
12   children, "bar1" and "bar2", then after
13
14   collapse_child bar1
15
16   is executed, the name of any variable occuring in bar1, say "xvar" will be
17   renamed "bar1$xvar". The new parent will have only the single child "bar2"
18   (which can be seen by typing "ls").
19
20   The user can use "cd" to traverse a hierarchy, go to a particular node. When
21   the  user uses "write_blif" from a particular node, vis will write the
22   circuit in this node out. However, the user might want to do synthesis on
23   the entire circuit in the hierarchy. In that case, the hierarchy can be
24   collapsed into a single node, by repeatedly using this command.
25
26   Examples:
27
28   collapse_child P1
29
30   Collapse P1 into the current node.
31
32   Command options:
33
34   -h
35          Print the command usage.
36
37   -v
38   Verbose mode.
39     _________________________________________________________________
40
41   Last updated on 20100410 00h02
Note: See TracBrowser for help on using the repository browser.