Intel 2920 Design Handbook page 116

Analog signal processor
Table of Contents

Advertisement

2920 SUPPORT TOOLS
met, simulation halts and the Simulator reverts to Inter-
rogation Mode. At this time the contents of any
memory location, processor register, or the trace buffer
can be displayed.
9.2.3 A Generalized Simulation Session
The following steps are typical of many simulation ses-
sions. Not every session requires all the procedures
given here, but the main outline is the same in most.
a)
Initialize the system by bringing up the Intel
Systems Implementation Supervisor (ISIS-II). After
getting the hyphen prompt character from ISIS-II
(-), enter the SM2920 command and obtain the
asterisk prompt (*) from the Simulator. This
indicates readiness to accept any command.
b) Use the LOAD command to bring the program to
be simulated into the simulator's working space.
c)
In Interrogation Mode, prepare the system for
simulation by defining symbols and setting simula-
tion breakpoints and trace qualifiers.
The breakpoint and qualifier are the Simulator's
"pseudo-registers." If execution matches the condi-
tion in the breakpoint register, simulation halts.
While execution matches the conditions in the trace
qualifier, trace data collection is enabled and runs
whenever simulation runs.
d) Specify the input signals to be simulated, as
functions of time or other variables.
e)
Enter a SIMULATE command to begin simulation.
Trace data will be displayed as they are collected, if
CONSOLE is ON.
f)
When simulation halts, redisplay the trace data
collected
during
that
simulation,
using
the
appropriate commands to position the trace buffer
pointer to the information needed for review. One,
several, or all entries can be displayed.
g)
While in Interrogation Mode (simulation halted),
examine or alter 2920 memory locations or
registers, 110 ports, or Simulator pseudo-registers,
as needed. Patch in changes to the program code
itself if required for program debugging or feature
improvement. Display or change symbolic values in
the symbol table if needed for further validation.
h) Alternate between interrogation and simulation
until current testing is complete.
i)
Use the SAVE command to store debugged code on
an ISIS-II disk file, including the symbol table if
desired.
9-3
Another session may be started immediately, resetting
all parameters to their initial values by a few simple
commands, or return to ISIS-II can be done using the
EXIT command.
The Simulator also contains detailed HELP messages
for commands and syntax.
A sample 2920 simulator session is shown in Figure 9-2.
-5112'20
'L1ST SAW LOC
I SA¥[ OUTPUT FlU THIS SESSION IN LOC FILE
'LOAD SAW NEX
I
LOAO UIITOOTH '[NEUTOI ASSEII8LEO IIITN ASU20
'ROII 0 TO 5
I
EKAIIINE FIRST PUT OF PIDCIAft
ROil 000 - LOA
Y •. Y .100.1110
ROil 001 - LOA .Y. Y.IOO.1II0
ROil 002 - LOA
Y.
Y.IOO.IIIO
ROil 003 - SUB
Y.lPI.IOO.lNO
ROil 004 - SUB
Y.lPI.ROI.lNO
ROil 005 - LOA OAR. Y.ROO.lNO
'IHO • SIN(40000TlIIE)
I
SPECIFY IN'UT SIeNAL TO BE snULATEO
.QUALIFIER - Pc-o
I
COLLECT TRACE ONLY ONCE PER PROCR,," PASS
'UACE - TIllE. INO. OUTO
I
TRACE THESE THREE ITEIIS
'S:/IULATE FROII 0 TILL TlIIE>TPl/4000
I
snULATE FOR A WHILE
T'ME
IHO
OUTO
SIIIULATION BEeUN
o
0000"00
0 J7U3213
o
OOOU200
0 "."800
o
00021800
0 U3S7UO
o
00038400
0 "U'U3
o 00048000
0 93".S51
o
ooosaoo
0 74303413
o
000'7200
0 Ulun1
o
0007"00
0 O"SUH
o
000U400
-0 3092S317
o
000"000
-0 '42"883
.J 00105'00
-0 B830.,,.
o
00115200
-0 "4SSU5
.J 00124800
-0 'UU2U
o
00134400
-0 717773U
o
00144000
-0 4"'41"
o
00153'00
-0 13I7U27
SIIIULATION TEIIlIKATEO
., PROCIAII WORKS
oEXI T
0.25000000
o
onsoooo
0.7S000000
o
SUSOOOO
o
.37S00000
o
18750000
o
00000000
o
"750000
o
00000000
o
00000000
o
00000000
o
00000000
o
00000000
0.00000000
o
00000000
0.00000000
Figure 9-2. Sample 2920 Simulation Session
9.3 The 2920 Signal Processing
Applications Software/Compiler
The 2920 Signal Processing Applications Software/
Compiler (SP AS-20) aids the early design process by
facilitating interactive development of digital filters and
other signal processing functions. Automatic code
generation can be requested. The Compiler selects the
best program fitting designer constraints on the code
size, or error functions on gain, multiplier value, or pole
or zero location variance.
The Compiler's file handling, graphics, and extended
macro capabilities make it easy to generate, test, and
save generated code. Macro capability enables the
designer to implement more complex commands by
grouping sets of commonly used commands into a
macro. Simple examples would include arithmetic
routines to mUltiply or divide any two numbers given as
parameters to the macro, or a routine to create a

Advertisement

Table of Contents
loading

Table of Contents