dws advice
[email protected]
ISS "instruction set simulator" emulates the AM29000
What is an ISS test?
It's a special type of TDF that gets converted into debugger
commands. You start debugging the SUT and kick off those
debugger commands while capturing the output.
That output is formatted into a final VER file.
note: don't write tests at random:
look at the test anchor you want to test,
and find the associated code anchor from the trace matrix.
check the code to see if all the variables
are implemented before starting the test.
if a section is not fully implemented, skip it.
SAMPLE SESSION:
on vax:
@setup (i recommend a setup.com that runs
$ integ_login md90
$ define a29_library M90SWIT211:disp1.alb
$ define TCA_SRC md90src
or something similar)
edit the driver (it is an ADA file with code that sets up and
executes the SUT. it will also contain
breakpoints and possibly a global pkg with some
variables accessable to both test and driver.
ADA Name: PCH_AI0100_D
Filename: PCH_AI0100_D.ADA)
compile,link the driver
edit the TDF (it is a special TDF matrix that gets converted into
HADS Debugger Commands [an HDB file].
It has a rigid structure that should be followed:
Header, Initialization of SUT_VARS,
Macro definitions, Set input variables,
Init output variables, GO,
Examine output variables, list comments.
Filename: PCH_AI0100.TDF)
TGS/HDB PCH_AI0100.TDF (generate PCH_AI0100.HDB file)
xdebug PCH_AI0100_D
> slon PCH_AI0100.RES (set output filename)
> ddi PCH_AI0100.HDB (start stream of debug commands)
> exit
TGS/VER PCH_AI0100.RES (format output -> PCH_AI0100.VER)
vax debugger commands:
FUNCTION KEYS:
f6 f7 f8 f9 f10 f11 f12 f13 f14
exit target calls mach output source command step step
output code window window window mach ada
COMMANDS: SPECIAL KEYS:
step Ins= set br PgUp= del br
step/into del= view end= prev br PgDn= next br
step/return
display J'address
display/memory 0000..0011
display layout record1
go
any other questions? carefully examine EBWR1:[BENNETTP]RT.COM
or ask Shamal, Padma, or Sheila.
back