ADDS-21xx-TOOLS
REV. B
–3–
Introduction to Development Tools
GENERAL DESCRIPTION
The ADSP-2100 Family Development Software, a complete set
of software design tools, lets you program applications for this
family of DSP microprocessors that includes the ADSP-2101,
ADSP-2105, ADSP-2111, ADSP-2115, and the newest
members, the ADSP-2171 and ADSP-2181. With these tools,
an EZ-ICE In-Circuit Emulator, and an EZ-LAB Evaluation
Board, you can quickly and efficiently design your DSP
applications. The figure on page 1 (“System Development
Process Overview”) shows how the tools are typically used in
the development process.
DSP Software Development Tools
The software development tools include the following programs:
• System Builder • G21 C Compile
• Assembler • C Runtime Library
• Linker • CBUG C Source-Level Debugger
• Simulator • PROM Splitter
The System Builder reads your system specification file and
then generates an architecture description file that passes
information about your target hardware to the linker, simulator,
and emulator. Code generation begins with the creation of C
language and/or assembly language source code modules. These
modules are compiled/assembled separately and then linked
together to form an executable program (memory image file).
The highly readable algebraic syntax of the ADSP-2100 Family
instruction set eases programming in assembly language. Multiplyaccumulate instructions are written in the same manner as the
actual equation. For example, the algebraic statement
r = r + x*y
is coded in assembly language as
MR = MR + MX0*MY0.
The simulator configures program and data memory according
to the architecture description file and simulates the memorymapped I/O ports to let you debug your system and analyze its
performance. After simulating your system and software, use the
emulator with your prototype hardware to test circuitry, timing,
and real-time software execution. The PROM Splitter then
translates the linker-output executable file into an industrystandard file format for a PROM programmer. Once you burn
the code into a PROM device and plug in an ADSP-21xx
processor to the target board, your prototype is ready to run.
Development software is available for the IBM (or IBMcompatible) PC/AT and Sun4 workstation platforms.
DSP Hardware Development Tools
• EZ-ICE Emulators
• EZ-KIT Development Tools Packages
• EZ-LAB Evaluation Boards
The ADSP-2100 Family hardware development tools provide a
controlled environment for observing, debugging, and testing
activities in a full-speed target system. Our ADSP-2100 Family
EZ-ICE Emulators provide this control by replacing the target
processor or, in the case of the ADSP-2181, by assuming
control of the DSP through its ICE-Port. The EZ-ICE,
controlled by an IBM PC host computer, using a GUI interface
similar to the ADSP-2100 Family Simulators, lets you examine
and modify processor information such as registers and
memory.
The ADSP-2100 Family EZ-LAB Evaluation Boards let you test
coded applications in real time without a host or PC. At reset,
the processor on the ADSP-2100 Family EZ-LAB boots code
and program memory into its internal program memory from
the EPROM, and then executes the code.
EZ-KIT offers a complete development environment including
the ADSP-2100 Family Assembler/Linker and Simulator, an
ADSP-2100 Family EZ-LAB Evaluation Board. The EZ-KITs
for the ADSP-2101 and ADSP-2111 include an applications
handbook (Digital Signal Processing Applications Using the
ADSP-2100 Family Applications), plus a laboratory textbook
(Digital Signal Processing Laboratory Using the ADSP-2101
Microcomputer Laboratory Workbook with Introductory DSP
Experiments) and source code diskettes. The EZ-KIT Lite for
the ADSP-2181 is a lower cost starter kit that includes a subset
of the regular EZ-KIT software and documentation.
SOFTWARE TOOLS
SYSTEM BUILDER
The System Builder lets you define system hardware based on
ADSP-21xx processors with memory that can be specified as
RAM or ROM. It also lets you design ADSP-21xx Family
systems with paged external data memory, extending the
processor’s address space for additional data storage.
G21 C COMPILER
The G21 C Compiler is an optimizing ANSI compiler based on
the GNU gcc compiler. Applications written in C are compiled,
assembled, and linked to create executable ADSP-21xx
programs that can be debugged with an ADSP-21xx Simulator
or Emulator. It also supports in-line assembly code using the
asm() construct, which lets you use C expressions.
The G21 C Compiler contains optimization features to increase
execution speed of the resultant assembly code. These features
include algorithms to perform the following:
• Constant Folding
• Common Subexpression Elimination
• Loop Optimization and Strength Reduction
• Global and Local Register Allocation
• Parallelization
• Instruction Scheduling