summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/unswthesis/thesis.tex
blob: a7cd80c10c28b6d223bd812a9c060be4d659cd04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
%%% [ This file is provided for the purpose of being an example of using
%%%   the "unswthesis" class.  As such, any information relating to the
%%%   thesis itself has been removed. ]

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                                                                       %
%                      University of New South Wales                    %
%               School of Computer Science and Engineering              %
%                                 Thesis                                %
%                                                                       %
%                        (C) John Zaitseff, 1995.                       %
%                                                                       %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% Author:       John Zaitseff <J.Zaitseff@unsw.edu.au>
% Date:         October, 1995. [ Stripped 28/8/96 ]
% Format:       LaTeX-2e

%     This document contains the Undergraduate Thesis for John Zaitseff,
% completed at the University of New South Wales in Session 2, 1995.

%@@@ introduces places where something needs to be done.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[final]{unswthesis}
\usepackage{mythesis}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\frontmatter

\maketitle
\tableofcontents
\listoffigures
\listoftables

\mainmatter

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\chapter{Introduction}\label{ch:intro}

One of the fastest growing areas of computing today is the area of
portable, often hand-held, devices.  These highly-integrated computers
are used in increasingly many areas, especially as Personal Digital
Assistants, including hand-held data loggers, bar code scanners and meter
readers.

This thesis describes the design of one such portable system, based on
the \Elan microprocessor.  This system features the use of the current
state-of-the-art technology, including high-density surface-mounted
components, low battery power consumption, and directly integrated
support for the new \PCMCIA standard.

%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section*{Acknowledgements}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\chapter{Applications}\label{ch:apps}

\section{Biomedical applications}

Such a set-up would look something like Figure~\ref{fg:aging}.
%
\begin{ourfigure}
%\includegraphics{homemon.ps}
includegraphics...
\caption{Remote monitoring of health status in the home}\label{fg:aging}
\end{ourfigure}

The r\^ole of the \EPC, the system this thesis describes, in such
biomedical systems would be to actually take the place of the hand-held
device taking data readings, or as part of the instrumentation modules
placed around the house.  The requirements of the \EPC in such systems
are described in the next chapter.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\chapter{Alternatives}\label{ch:alt}

In Chapter~\ref{ch:apps}, we saw a number of applications in which a
portable computer may be used.

...

The \Elan CPU chooses the configuration mode at reset time, on the rising
edge of \pnob{RESIN}, by sampling the state of three pins: \pnob{DTR},
\pnob{RTS} and \pn{SOUT}.  These pins are usually used for serial port
output, except for their special function at reset.  To select one of the
modes, we place \res{10}{k} pull-up or pull-down resistors on these pins,
as per Table~\ref{tb:elmode}.  In this table, a ``1'' indicates pull-up,
``0'' indicates pull-down, and ``X'' indicates that no resistor is
required.
%
\begin{ourtable}
\begin{tabular}{|c|c|c|l|}
\hline
\multicolumn{3}{|c|}{Pin state at reset}  &  \\
\cline{1-3}
\rule[1.3ex]{0mm}{1.3ex}\pnob{DTR} & \pnob{RTS} & \pn{SOUT} &
	\multicolumn{1}{|c|}{\raisebox{1.5ex}[0cm][0cm]{Mode Selected}} \\
\hline
0  &  0  &  X  &  Internal CGA \\
1  &  0  &  0  &  Local bus, 1 \by clock \\
1  &  0  &  1  &  Local bus, 2 \by clock \\
X  &  1  &  X  &  Maximum ISA \\
\hline
\end{tabular}\par
\begin{tabular}{c@{\,}c@{\,}l}
0 &=& pull-down resistor (to \pn{GND}) \\
1 &=& pull-up resistor (to \pn{VCC5}) \\
X &=& no resistor \\
\end{tabular}
\caption{Selection of the \Elan operating mode}\label{tb:elmode}
\end{ourtable}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection{Level 1 ISA Bus Support}\label{sc:el:isa1}

Table~\ref{tb:elisa1} shows the meaning of the
pins used in this mode.
%
\begin{ourtable}
\renewcommand{\thefootnote}{\textit{\alph{footnote}}}
\begin{tabular}{|l|c|l|}
\hline
Pin Name		& Type%
%
\footnote{I~=~Input, O~=~Output, I/O~=~Bidirectional.  These are with
	  respect to the \Elan device itself.}
%
				& Function \\
\hline
\pn{AEN}		& O	& DMA address enable (DMA cycle)\\
\pn{TC}			& O	& DMA terminal count\\
\pn{SYSCLK}		& O	& System clock%
				\footnote{ISA bus timing is \emph{not}
				derived from this signal: it is meant to
				be used for the keyboard controller
				only.}\\
\pn{PIRQ1}		& I	& Programmable interrupt request~1\\
\pn{DRQ2}		& I	& DMA channel 2 request\\
\pn{X1OUT} / \pn{BAUDOUT}
			& O	& Video clock or serial port clock\\

\pnob{MCS16}		& I	& Memory device is \bit{16}%
\footnote{Note that \pnob{MCS16}, \pnob{IOCS16}, \pnob{SBHE} and
	      \pn{IRQ14} are \emph{not} available in dual-scan LCD mode.} \\
\pnob{IOCS16}		& I	& I/O device is \bit{16}\footnotemark[3]\\
\pnob{SBHE}		& O	& Byte high enable\footnotemark[3]\\
\pn{IRQ14}		& I	& Interrupt request~14\footnotemark[3]\\
\hline
\end{tabular}
\renewcommand{\thefootnote}{\textrm{\arabic{footnote}}}
\caption{ISA bus support, common subset}\label{tb:elisa1}
\end{ourtable}

Before we continue, a few points to note about the notation:
%
\begin{itemize}
    \item  A pin name like \pn{PIN} indicates either an
	   \emph{active-high} pin (i.e., where the pin is asserted when
	   it is at a \High level, generally either \threevolt or
	   \fivevolt), or a \emph{rising-edge} pin (i.e., where the pin
	   is asserted on the rising edge, from \Low to \High, of a
	   pulse).
    \item  A name like \pnob{PIN} is the opposite: it indicates an
	   \emph{active-low} pin, or one that is asserted on the
	   \emph{falling-edge} (\High to \Low) of a signal.
    \item  A name like \pnm{PIN}{3}{0} is \emph{shorthand} for pins
	   individually named \pn{PIN0}, \pn{PIN1}, \pn{PIN2} and
	   \pn{PIN3}.
    \item  All pins are with reference to the microprocessor, i.e.,
	   ``Output'' means output \emph{from} the processor to external
	   peripherals.
\end{itemize}

The following is a description of the pins listed in
Table~\ref{tb:elisa1}.  Much of this information is from pages 39 to~49
of the \book{Data Book}~\cite{ci:data}, although some critical
information is not listed in \emph{any} part of the supplied
documentation:
%
\begin{pindescr}
    \iopin {\pnm{SA}{23}{0}}%
	   {System address bus}%
	   {output, active high}

		The system address bus outputs the physical memory or I/O
		address.  It is used by all external devices, except
		system DRAM\@.  In local bus mode, this represents the CPU
		local address, except that \pn{SA0} is not used.  Note
		that pins \pnm{SA}{23}{13} are multiplexed with the
		memory bus; see section~\ref{sc:el:mem} for more details.

    \iopin {\pnm{D}{15}{0}}%
	   {System data bus}%
	   {bidirectional, active high}

		The system data bus inputs data during memory or I/O read
		cycles, and outputs data during memory and I/O write
		cycles.  In local bus mode, as well as in DRAM read/write
		mode, this bus is used to represent the CPU data bus.
\end{pindescr}

...

These modes are summarised in
Table~\ref{tb:pmmodes}; see also pages~9--15 of the \book{Data
Book}~\cite{ci:data}.
%
\begin{ourtable}
\begin{tabular}{|p{0.15\linewidth}|p{0.6\linewidth}|}
\hline
Mode		&Description\\
\hline\hline
Full speed	&All clocks are at fastest speed and all peripherals are
		powered up.\\\hline
Low speed	&CPU clock is reduced to a lower speed; all other clocks
		are at full speed.\\\hline
Doze		&CPU, system and DMA clocks, as well as the high-speed
		phase-locked loop, are stopped.\\\hline
Sleep		&Additional clocks and peripherals are stopped (depending
		on the programmed settings), as is the serial port
		controller (UART).\\\hline
Suspend		&A special BIOS routine is invoked to save the system
		state, then virtually all of the system is powered down.
		The phase-locked loops are turned off.\\\hline
Off		&A powered-down mode in which \pn{PGP2} and \pn{PGP3} are
		set to a predefined state.  Memory refresh is still
		active.  No activity can cause the processor to leave
		this state, except for a power-on reset.\\
\hline
\end{tabular}
\caption{Power Management Unit operating modes}\label{tb:pmmodes}
\end{ourtable}

%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection{Other Remarks}

One of the additional features of the internal video controller is that
it may be programmed to appear in the I/O location for a CGA controller
(\addr{3D4}--\addr{3DA}) or in the I/O location for a Hercules Graphics
Adapter (\addr{3B4}--\addr{3BF}).

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\chapter{Conclusions}\label{ch:concl}

In conclusion, this project has been \emph{very} challenging, but very
interesting as well.  Although we were not able to proceed with the
implementation, we are more than reasonably satisfied that the design is
sound and thorough.  If the project is continued in the next year, the
\EPC will eventually emerge as a symbol of today's modern computing.


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{thebibliography}{199}
\ssp

%%%%%%%%%%%%%%%%%%%%%
\bibitem{ci:poqetpad}

``\book{Development of a Range of \PCMCIA Type III Instrumentation Modules for
Clinical Measurement, based on the PoqetPad Plus Pen-based Computer}'',
Branko Celler, Biomedical Systems Laboratory, University of NSW,
Australia, 23rd June 1993.

%%%%%%%%%%%%%%%%%
\bibitem{ci:data}

``\book{\Elan \AmSC Microprocessor Data Sheet}'',
Mobile Computing Products Division of Advanced Micro Devices, Inc.

%%%%%%%%%%%%%%%%
\bibitem{ci:prm}

``\book{\Elan \AmSC Microprocessor Programmers' Reference Manual}'',
Mobile Computing Products Division of Advanced Micro Devices, Inc.

%%%%%%%%%%%%%%%%%%%%
\bibitem{ci:intlist}

``\book{PC Interrupt List}''
Ralf Brown, Release~47, August 1995.
Available as\linebreak\texttt{ftp://ftp.cs.cmu.edu/afs/cs.cmu.edu/user/ralf/pub/inter47*.zip}


%%%%%%%%%%%%%%%%%%%
\bibitem{ci:pcspec}

``\book{\PCMCIA Standards}'',
``\book{PC Card Standard 2.1}'',
``\book{Socket Services Specification 2.1}'',
``\book{Card Services Specification 2.1}'',
``\book{PC Card ATA Specification 1.02}'',
``\book{AIMS Specification 1.01}'',
``\book{Recommended Extensions 1.0}'',
Personal Computer Memory Card International Association,
July 1993.

\end{thebibliography}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\appendix
\ssp
\chapter{\Elan Computer Schematics}\label{ch:schem}

The following pages show the final \EPC schematics.  The actual
schematics are in the following order:
%
\begin{enumerate}
    \item System Block Diagram
    \item \Elan Microprocessor
    \item Miscellaneous
    \item System Memory
    \item Display Interface
    \item \PCMCIA Buffers
    \item \PCMCIA Connectors
    \item Parallel Port
    \item Serial Port
    \item Keyboard Connector
    \item Expansion Connector
    \item DC/DC Power
    \item Power Switching
\end{enumerate}
%
% Leave enough space (13 pages) for the schematics.
\clearpage
\addtocounter{page}{13}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\chapter{Component Data Sheets}\label{ch:datasheet}

The following pages contain all of the data sheets for the components
used in the \EPC design, except for the \Elan \AmSC itself (about
300~pages, available seperately as~\cite{ci:data, ci:prm}, and simple
components like resistors, capacitors and diodes.

...

\end{document}