Debian Codegraph @

doc/html/def.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>def</H2>
22 <HR>
23 Read or write DEF format files.
24 <HR>
25
26 <H3>Usage:</H3>
27 <BLOCKQUOTE>
28 <B>def</B> <I>option</I> <BR><BR>
29 <BLOCKQUOTE>
30 where <I>option</I> is one of the following:
31 <DL>
32 <DT> <B>read</B> [<I>filename</I>]
33 <DD> Read a DEF file <I>filename</I>[<B>.def</B>]
34 <DT> <B>write</B> [<I>cell</I>]
35 <DD> Write DEF for current or indicated cell named <I>cell</I>
36 <DT> <B>help</B>
37 <DD> Print help information (command summary)
38 </DL>
39 </BLOCKQUOTE>
40 </BLOCKQUOTE>
41
42 <H3>Summary:</H3>
43 <BLOCKQUOTE>
44 The <B>def</B> command reads and writes DEF format files. These
45 files are generally assumed to be digital standard-cell based
46 layouts. The DEF format has no real concept of hierarchy. To
47 generate a valid DEF file that may be recognized by other
48 software, it is necessary to have a layout with standard cells
49 using the <B>port</B> method to declare input and output ports.
50 In particular, the <B>port class</B> and <B>port use</B> are
51 designed to work with the DEF read and write routines. <P>
52
53 The technology file should have a <B>lef</B> section
54 describing how LEF and DEF files should be written. However, if
55 an appropriate LEF file exists and is read prior to writing a
56 DEF format file, the technology will be initialized from the
57 file if it is not declared in the technology file. <P>
58 </BLOCKQUOTE>
59
60 <H3>Implementation Notes:</H3>
61 <BLOCKQUOTE>
62 <B>def</B> is implemented as a built-in <B>magic</B> command.
63 Only the critical part of the DEF definition has been
64 implemented. Some uncommon forms of syntax such as
65 wire extensions are not implemented. This is largely due
66 to the incomplete nature of the LEF/DEF spec. It is unlikely
67 that such forms will be encountered in third-party input.
68 </BLOCKQUOTE>
69
70 <H3>See Also:</H3>
71 <BLOCKQUOTE>
72 <A HREF=lef.html><B>lef</B></A> <BR>
73 <A HREF=port.html><B>port</B></A> <BR>
74 </BLOCKQUOTE>
75
76 <P><IMG SRC=graphics/line1.gif><P>
77 <TABLE BORDER=0>
78 <TR>
79 <TD> <A HREF=commands.html>Return to command index</A>
80 </TR>
81 </TABLE>
82 <P><I>Last updated:</I> October 7, 2004 at 1:45am <P>
83 </BODY>
84 </HTML>