
October 13 1995, Draft 1
368
Addendum to –– Evaluating and Programming the 29K RISC Family
mon
serial
sim
eb29K
yarcrev8
montip.exe –t serial –baud 38400
montip.exe –t serial –baud 9600
iss.exe
–r ..\..\src\osboot\sim\osboot
montip.exe –t eb29K –r ..\..\src\minimon\eb29K\mon.o
montip.exe –t yarcrev8 –r ..\..\src\minimon\yarcrev8\mon.os
The first field is again the session identifier. The second and third fields contain
the TIP executable file name and its start–up option switches. All DFEs have some
kind of command–line or interactive command which allows the
session_id
value to
be entered. The DFE then reads the UDI Configuration File to determine the TIP with
which communication is to be established. Most DFEs (
mondfe
has the
disc
com-
mand) have a command which enables the DFE to disconnect from the TIP, cease to
execute but leave the TIP running. Because the TIP is still
alive
and ready to service
UDI requests, a DFE can start–up later and reconnect with the TIP. However, typical-
ly the DFE and TIP processes are terminated at the same time.
7.5.7 The UDI – Instruction Set Simulator Connection, ISSTIP
An Instruction Set Simulator,
isstip
, is available for DOS and UNIX type hosts.
The
isstip
process is fully UDI conforming and can be used by any DFE. Because of
existing contract limitations, AMD normally ships
isstip
in binary rather than source
form. Using the simulator along with, say the
gdb
DFE, is a convenient and powerful
way of exercising 29K code without ever having to build hardware. Thus, software
engineers can use the simulator while a project’s hardware is still being debugged.
The Instruction Set Simulator can not be used for accurate application bench-
marking, as the system memory model can not be incorporated into the simulation.
AMD supplies the architectural simulator,
sim29
, for that purpose (see Chapter 1).
The simulator supports several command line options, as shown below. For an ex-
planation of these options, enter
isstip
or
man isstip,
on your TIP host machine.
isstip [–r osboot_file] [–29000|–29050|–29030|–29200] [–t] [–tm]
[–id <0|1>] [–sp <0|1>] [–st <hexaddr>] [–ww] [–le] [–p|v]
With the –
r
option, the
osboot_file
is loaded into memory at address 0. This is
useful for installing operating systems like OS–boot before application code starts
executing. With processors which support separate Instruction and ROM memory
spaces, the
osboot_file
is loaded into ROM space. If the
–r
option is not used, the sim-
ulator will intercept HIF service calls and perform the necessary operating system
support service. The simulator always intercepts HIF services with service numbers
255 and less regardless of the
–r
option. These HIF services are provided directly by
the simulator.
The simulator is very useful for debugging Freeze mode code. It will allow
single stepping through Freeze mode code which is not possible with a real processor
unless it supports Monitor mode. Freeze mode code is normally supplied in the op-