Debian Codegraph @

doc/html/irsim.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>irsim</H2>
22 <HR>
23 Invoke the <B>irsim</B> switch-level digital simulator.
24 <HR>
25
26 <H3>Usage:</H3>
27 <BLOCKQUOTE>
28 <B>irsim</B> [<I>args</I>] <BR><BR>
29 <BLOCKQUOTE>
30 where <I>args</I> are any arguments to be passed to the <B>irsim</B>
31 program as they would from the command line. See the <B>irsim</B>
32 documentation for an explanation of its valid command-line
33 arguments.
34 </BLOCKQUOTE>
35 </BLOCKQUOTE>
36
37 <H3>Summary:</H3>
38 <BLOCKQUOTE>
39 The <B>irsim</B> command starts the <B>irsim</B> simulator. While
40 previous versions of magic did this by forking the <B>irsim</B>
41 process, Tcl-based <B>magic</B> can load the Tcl-based <B>irsim</B>
42 as a package directly into the interpreter. Commands for <B>irsim</B>
43 are added to the Tcl namespace and are available directly from the the
44 <B>magic</B> command line. <P>
45
46 As a Tcl script, the <B>irsim</B> command attempts to set up the
47 simulation arguments to ensure proper startup. It also checks for
48 a valid <TT>.sim</TT> file matching the layout, and generates one
49 if it does not already exist. <P>
50
51 A number of commands are available for viewing signal values directly
52 on the layout. For a complete description of these commands and
53 the Tcl-based <B>irsim</B> simulation environment, see the documentation
54 on <B>irsim</B>. <P>
55 </BLOCKQUOTE>
56
57 <H3>Implementation Notes:</H3>
58 <BLOCKQUOTE>
59 <B>irsim</B> is implemented as a Tcl procedure that loads the Tcl-package
60 based version of <B>irsim</B>, then executes its startup procedure. The
61 <B>irsim</B> Tcl package itself is compiled and installed separately
62 from <B>magic</B>.
63 </BLOCKQUOTE>
64
65 <H3>See Also:</H3>
66 <BLOCKQUOTE>
67 <A HREF=ext2sim.html><B>ext2sim</B></A> <BR>
68 </BLOCKQUOTE>
69
70 <P><IMG SRC=graphics/line1.gif><P>
71 <TABLE BORDER=0>
72 <TR>
73 <TD> <A HREF=commands.html>Return to command index</A>
74 </TR>
75 </TABLE>
76 <P><I>Last updated:</I> October 7, 2004 at 1:01am <P>
77 </BODY>
78 </HTML>