Debian Codegraph @

doc/html/cellmanager.html

raw symbols SCIP
1 <HTML>
2 <HEAD>
3 <STYLE type="text/css">
4 H1 {color: black }
5 H2 {color: maroon }
6 H3 {color: #007090 }
7 A.head:link {color: #0060a0 }
8 A.head:visited {color: #3040c0 }
9 A.head:active {color: white }
10 A.head:hover {color: yellow }
11 A.red:link {color: red }
12 A.red:visited {color: maroon }
13 A.red:active {color: yellow }
14 </STYLE>
15 </HEAD>
16 <TITLE>Magic-7.3 Command Reference</TITLE>
17 <BODY BACKGROUND=graphics/blpaper.gif>
18 <H1> <IMG SRC=graphics/magic_title2.gif ALT="Magic VLSI Layout Tool Version 7.3">
19 <IMG SRC=graphics/magic_OGL_sm.gif ALIGN="top" ALT="*"> </H1>
20
21 <H2>cellmanager</H2>
22 <HR>
23 Invoke the cell manager GUI window
24 <HR>
25
26 <H3>Shortcuts:</H3>
27 <BLOCKQUOTE>
28 Menu option <I>Options->Cell Manager</I> implements the command
29 <B>cellmanager create</B> in the GUI layout window. This menu
30 item has a checkbox and is used both to open and to close the
31 Cell Manager window.
32 </BLOCKQUOTE>
33
34 <H3>Usage:</H3>
35 <BLOCKQUOTE>
36 <B>cellmanager</B> [<I>option</I>] <BR><BR>
37 <BLOCKQUOTE>
38 where <I>option</I> is optional and may be one of the following:
39 <DL>
40 <DT> <B>update</B>
41 <DD> The default option if no option is given. Update the
42 cell manager to reflect the current state of the layout.
43 <DT> <B>create</B>
44 <DD> Create the cell manager window. This option is normally
45 called only from the "<I>Cell Manager</I>" button in the
46 <B>magic</B> GUI layout window.
47 </DL>
48 </BLOCKQUOTE>
49 </BLOCKQUOTE>
50
51 <H3>Summary:</H3>
52 <BLOCKQUOTE>
53 The <B>cellmanager</B> command is normally invoked automatically
54 from inside the GUI wrapper procedures and tag callbacks, and
55 normally should not be called directly from the command line.
56 </BLOCKQUOTE>
57
58 <BLOCKQUOTE>
59 <CENTER>
60 <IMG SRC=graphics/cellmgr.gif> <BR>
61 <I>Figure 1. The Cell Manager Window</I>
62 </CENTER>
63 </BLOCKQUOTE>
64
65 <BLOCKQUOTE>
66 The Cell Manager window (see above) is a separate top-level window
67 with Tk pathname "<B>.cellmgr</B>". It consists of a tree widget
68 (defined in the Tcl package "BLT") display in the center, a message
69 window and button on the bottom, and a row of menu buttons at the
70 top. <P>
71
72 The Cell Manager displays cells for everything stored in the layout
73 database. As such, it is only necessary to have a single cell
74 manager for all layout windows. However, commands such as "Load",
75 "Edit", etc., apply to a specific window. When a new layout window
76 is created, rather than generate a new Cell Manager window, the
77 new window is added to the list of "target windows". The currently
78 selected target window is displayed at the bottom of the Cell
79 Manager. This is also a button that can be used to select a new
80 target window. If only one layout window is present, the target is
81 declared "default" and may be left alone. <P>
82
83 The hierarchical tree view shows all of the <I>instances</I> (cell
84 uses) in a layout. When first invoked, the top-level cell only
85 is shown, with a "folder" icon showing that this cell contains
86 uses. By clicking on the "+" symbol next to the folder icon,
87 the tree view is expanded to show the cell instances used by the
88 top-level layout cell. This expansion may continue until a cell
89 instance is found that does not contain any descendents. Note that
90 the name displayed is the name of the cell <I>definition</I>, with
91 the instance number given in parentheses after the name. If
92 the instance name is non-default (e.g., because it came from a
93 3rd party vendor database or was altered with the <B>identify</B>
94 command), the full name of the instance is shown in the
95 parentheses. If the instance is arrayed, the array indices are
96 shown in brackets ("<B>[]</B>") after the instance number or name.
97 <P>
98
99 The use of tag callbacks on commands allows the cell manager to
100 be updated in response to certain commands entered on the command
101 line. The cell manager will be updated in response to a
102 "<B>load</B>" or "<B>getcell</B>" command. <P>
103
104 The menu buttons perform certain functions based on the selection
105 made in the tree window. These functions are as follows:
106 <BLOCKQUOTE>
107 <DL>
108 <DT> <B>Load</B>
109 <DD> load the selected cell into the window. The <B>load</B>
110 command is invoked and passed the cell definition name
111 of the selected cell instance. Note that this menu
112 function operates on the cell <I>definition</I> of the
113 selected cell <I>instance</I>.
114 <DT> <B>Edit</B>
115 <DD> edit the selected cell instance. The cell instance
116 selected becomes the current edit cell.
117 <DT> <B>Expand</B>
118 <DD> expand (or unexpand, if already expanded) the selected
119 cell instance.
120 <DT> <B>Zoom</B>
121 <DD> change the current view of the layout so that it is
122 centered on the selected cell instance, and scaled so
123 that the cell instance fills the screen.
124 </DL>
125 </BLOCKQUOTE>
126 </BLOCKQUOTE>
127
128 <H3>Implementation Notes:</H3>
129 <BLOCKQUOTE>
130 <B>cellmanager</B> is implemented as a Tcl procedure in the GUI wrapper
131 script. Because layouts with complicated hierarchy can cause
132 <B>magic</B> to run very slowly due to processing in the cell
133 manager window, this window does not exist on startup and is
134 deleted entirely when turned off in the "<I>Options</I>" menu of
135 the GUI wrapper layout window. <P>
136 <B>cellmanager</B> uses the tree display widget from the tcl package
137 "BLT". Therefore, in order to see the Cell Manager window, it is
138 necessary to have BLT installed on the system. If BLT is not
139 installed, no option for "Cell Manager" will appear in the "Options"
140 menu of the GUI wrapper window. <P>
141 <B>cellmanager</B> depends on the GUI wrapper window, as it is defined
142 in the wrapper script. Therefore, to use the cell manager, it is
143 necessary to invoke magic with the option "<B>-w</B>".
144 </BLOCKQUOTE>
145
146 <H3>Bugs:</H3>
147 <BLOCKQUOTE>
148 The "<B>Expand</B>" function should expand everything above the selected
149 cell. Otherwise, if something higher up in the hierarchy is unexpanded,
150 the selected cell will not be expanded.
151 </BLOCKQUOTE>
152
153 <H3>See Also:</H3>
154 <BLOCKQUOTE>
155 <A HREF=load.html><B>load</B></A> <BR>
156 <A HREF=edit.html><B>edit</B></A> <BR>
157 <A HREF=expand.html><B>expand</B></A> <BR>
158 <A HREF=zoom.html><B>zoom</B></A> <BR>
159 </BLOCKQUOTE>
160
161 <P><IMG SRC=graphics/line1.gif><P>
162 <TABLE BORDER=0>
163 <TR>
164 <TD> <A HREF=commands.html>Return to command index</A>
165 </TR>
166 </TABLE>
167 <P><I>Last updated:</I> October 6, 2004 at 12:47am <P>
168 </BODY>
169 </HTML>