OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [doc/] [html/] [user-guide/] [setup-sparclite-sim.html] - Blame information for rev 249

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 28 unneback
<!-- Copyright (C) 2003 Red Hat, Inc.                                -->
2
<!-- This material may be distributed only subject to the terms      -->
3
<!-- and conditions set forth in the Open Publication License, v1.0  -->
4
<!-- or later (the latest version is presently available at          -->
5
<!-- http://www.opencontent.org/openpub/).                           -->
6
<!-- Distribution of the work or derivative of the work in any       -->
7
<!-- standard (paper) book form is prohibited unless prior           -->
8
<!-- permission is obtained from the copyright holder.               -->
9
<HTML
10
><HEAD
11
><TITLE
12
>SPARClite Architectural Simulator Setup</TITLE
13
><meta name="MSSmartTagsPreventParsing" content="TRUE">
14
<META
15
NAME="GENERATOR"
16
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
17
"><LINK
18
REL="HOME"
19
TITLE="eCos User Guide"
20
HREF="ecos-user-guide.html"><LINK
21
REL="UP"
22
TITLE="Target Setup"
23
HREF="appendix-target-setup.html"><LINK
24
REL="PREVIOUS"
25
TITLE="SPARClite Hardware Setup"
26
HREF="setup-sparclite-sleb.html"><LINK
27
REL="NEXT"
28
TITLE="ARM PID Hardware Setup"
29
HREF="setup-arm-pid.html"></HEAD
30
><BODY
31
CLASS="SECT1"
32
BGCOLOR="#FFFFFF"
33
TEXT="#000000"
34
LINK="#0000FF"
35
VLINK="#840084"
36
ALINK="#0000FF"
37
><DIV
38
CLASS="NAVHEADER"
39
><TABLE
40
SUMMARY="Header navigation table"
41
WIDTH="100%"
42
BORDER="0"
43
CELLPADDING="0"
44
CELLSPACING="0"
45
><TR
46
><TH
47
COLSPAN="3"
48
ALIGN="center"
49
>eCos User Guide</TH
50
></TR
51
><TR
52
><TD
53
WIDTH="10%"
54
ALIGN="left"
55
VALIGN="bottom"
56
><A
57
HREF="setup-sparclite-sleb.html"
58
ACCESSKEY="P"
59
>Prev</A
60
></TD
61
><TD
62
WIDTH="80%"
63
ALIGN="center"
64
VALIGN="bottom"
65
>Appendix A. Target Setup</TD
66
><TD
67
WIDTH="10%"
68
ALIGN="right"
69
VALIGN="bottom"
70
><A
71
HREF="setup-arm-pid.html"
72
ACCESSKEY="N"
73
>Next</A
74
></TD
75
></TR
76
></TABLE
77
><HR
78
ALIGN="LEFT"
79
WIDTH="100%"></DIV
80
><DIV
81
CLASS="SECT1"
82
><H1
83
CLASS="SECT1"
84
><A
85
NAME="SETUP-SPARCLITE-SIM">SPARClite Architectural Simulator Setup</H1
86
><P
87
>The ESA SPARClite simulator is an architectural simulator
88
which implements all the features of the SPARClite needed to run
89
eCos. The current implementation provides accurate simulation of
90
the instruction set, interrupt controller, and timers, as well as
91
having generic support for diagnostic output and exceptions.</P
92
><P
93
>Note that the ESA SPARClite simulator is unsupported, but
94
is included in the release as a convenience.</P
95
><P
96
>To simplify connection to the simulator, you are advised to
97
create a GDB macro by putting the following code in your personal
98
GDB start-up file (gdb.ini on Windows and .gdbinit on UNIX).</P
99
><TABLE
100
BORDER="5"
101
BGCOLOR="#E0E0F0"
102
WIDTH="70%"
103
><TR
104
><TD
105
><PRE
106
CLASS="PROGRAMLISTING"
107
>define ssim
108
 target sim -nfp -sparclite -dumbio
109
 rbreak cyg_test_exit
110
 rbreak cyg_assert_fail
111
end</PRE
112
></TD
113
></TR
114
></TABLE
115
><P
116
>You can then connect to the simulator by invoking the command <B
117
CLASS="COMMAND"
118
>ssim</B
119
> on
120
the command line:</P
121
><TABLE
122
BORDER="5"
123
BGCOLOR="#E0E0F0"
124
WIDTH="70%"
125
><TR
126
><TD
127
><PRE
128
CLASS="PROGRAMLISTING"
129
>(gdb) ssim</PRE
130
></TD
131
></TR
132
></TABLE
133
><P
134
>You can achieve the same effect by typing out the macro&#8217;s
135
content on the command line if necessary.</P
136
></DIV
137
><DIV
138
CLASS="NAVFOOTER"
139
><HR
140
ALIGN="LEFT"
141
WIDTH="100%"><TABLE
142
SUMMARY="Footer navigation table"
143
WIDTH="100%"
144
BORDER="0"
145
CELLPADDING="0"
146
CELLSPACING="0"
147
><TR
148
><TD
149
WIDTH="33%"
150
ALIGN="left"
151
VALIGN="top"
152
><A
153
HREF="setup-sparclite-sleb.html"
154
ACCESSKEY="P"
155
>Prev</A
156
></TD
157
><TD
158
WIDTH="34%"
159
ALIGN="center"
160
VALIGN="top"
161
><A
162
HREF="ecos-user-guide.html"
163
ACCESSKEY="H"
164
>Home</A
165
></TD
166
><TD
167
WIDTH="33%"
168
ALIGN="right"
169
VALIGN="top"
170
><A
171
HREF="setup-arm-pid.html"
172
ACCESSKEY="N"
173
>Next</A
174
></TD
175
></TR
176
><TR
177
><TD
178
WIDTH="33%"
179
ALIGN="left"
180
VALIGN="top"
181
>SPARClite Hardware Setup</TD
182
><TD
183
WIDTH="34%"
184
ALIGN="center"
185
VALIGN="top"
186
><A
187
HREF="appendix-target-setup.html"
188
ACCESSKEY="U"
189
>Up</A
190
></TD
191
><TD
192
WIDTH="33%"
193
ALIGN="right"
194
VALIGN="top"
195
>ARM PID Hardware Setup</TD
196
></TR
197
></TABLE
198
></DIV
199
></BODY
200
></HTML
201
>

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.