source: vis_dev/vis-2.1/share/vis/help/collapse_childCmd.txt @ 11

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

Add vis

File size: 1.5 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
9   this command, the number of children of the current node will decrease
10   by  one.  The  variables  in the child node will be renamed to reflect
11   their  original  name. For example, if the current node is named "foo"
12   and it has two 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"
17   will  be renamed "bar1$xvar". The new parent will have only the single
18   child "bar2" (which can be seen by typing "ls").
19
20   The  user  can  use  "cd"  to traverse a hierarchy, go to a particular
21   node. When the user uses "write_blif" from a particular node, vis will
22   write the circuit in this node out. However, the user might want to do
23   synthesis  on  the  entire circuit in the hierarchy. In that case, the
24   hierarchy  can  be  collapsed  into a single node, by repeatedly using
25   this command.
26
27   Examples:
28
29   collapse_child P1
30
31   Collapse P1 into the current node.
32
33   Command options:
34
35   -h
36          Print the command usage.
37
38   -v
39   Verbose mode.
40     _________________________________________________________________
41
42   Last updated on 20050519 10h16
Note: See TracBrowser for help on using the repository browser.