The C54x Simulator is a software program that uses the host processor and
memory to perform instruction- and C-level simulation of the C54x DSP.
It uses object code produced by the macro assembler/linker or ANSI C compiler
and the standard TMS320C54x Debugger Interface. The simulator essentially provides XDS/22 software with the debug capability for a C540, C541, C542, C543, C544, C545, C546, C547, or C548 plus external memory without the DSP hardware.
The simulator provides cost-effective application development and program verification in non-real-time. Each of the simulator's software programs simulates C54x operation and allows monitoring of the state of the processor. Simulation speed is typically on the order of hundreds of instructions per second on a PC.
Key features of the C54x simulator -- and common to all TMS320 software simulators -- include:
Execution of user-oriented DSP programs on a host computer
Modification and inspection of registers
Data and program memory modification and display:
Modification of an entire block at any time
Initialization of memory before a program is loaded
Simulation of peripherals, caches, and pipelined timings
Extraction of instruction cycle timing for device performance
analysis
Programmable breakpoints on:
Instruction acquisition
Memory reads and writes(data or program)
Data patterns on the data bus or the program bus
Error conditions
Trace on:
Accumulator
Program counter
Auxiliary registers
Single-stepping of instructions
The Simulator offers the following additional features to the TMS320
Debugger Interface :
Memory-mapped I/O can be connected to a host file to simulate I/O such as
synchronous serial port I/O.
The simulator can simulate external interrupts.
It can monitor the opcode and address at each phase of the pipeline with 8 pseudoregisters.