
1-2
Introduction
1.1 Overview of the SDK Tools
The ZSP SDK tools are all placed under one directory which is referred
to with the environment variable SDSP_HOME. The sdspI subdirectory
contains all tools related to the ZSP400 architecture. The zspg2
subdirectory contains all tools related to the ZSPG2 architecture. There
are no dependencies between the two directories. Users who only need
tools for the ZSP400 can delete the zspg2 subdirectory. Likewise, users
who only need tools for the ZSPG2 can delete the sdspI subdirectory.
The two subdirectories closely mirror one another. Both have the
following subdirectories: bin, lib, include, misc, tmp. The bin directories
contain the command-line tools. The lib directories contain the C
libraries. The include directories contain the C header files. The misc
directories contain auxilary files. The tmp directories are used by the
tools for temporary space. The GNU based tools for the ZSP400 all have
a “sd” prefix. The analgous tools for ZSPG2 all have a “zd” prefix. In
addition the assembly optimizer, sdopt/zdopt, also follows this prefix
convention. The simulators do not follow this convention. The ZSP400
simulators are: zsim400 and zisim400. The ZSPG2 simulators are:
zsimg2 and zisimg2.
The ZSP SDK also supports users who want to take assembly and C
code written for the ZSP400 architecture and run it without modification
on the ZSPG2 architecture. The compiler zdxcc compiles for a ZSPG2
target but uses the calling convention and pointer sizes designed for the
ZSP400. The zspg2 directory also contains a subdirectory libg1g2, which
contains C libraries for zdxcc. There is also a debugger, zdxbug, for
debugging code developed with zdxcc.
The ZSP SDK tools are based on the GNU tools from the Free Software
Foundation, Inc. The GNU project has well-proven software development
tools that have been successfully ported to many different target
machines and platforms. Documentation for the GNU project tools can
be obtained from the web site www.gnu.org and the FTP site
prep.ai.mit.edu
. To gain access to the FTP site, log in as ‘a(chǎn)nonymous’
and type your e-mail address as the password. The descriptions of the
tools in this document, for the most part, include only the differences
from their GNU counterparts (refer to
Table 1.1
).