MOTOROLA DIGITAL SIGNAL PROCESSINGDEVELOPMENT SOFTWAREMOTOROLA DSPSIMULATOR REFERENCE MANUALMotorola, IncorporatedSemiconductor Products SectorDSP Div
Table of ContentsGraphical User Interfacexii DSP SIMULATOR REFERENCE MANUAL MOTOROLA9.3.13 DISPLAY//RADIX. . . . . . . . . . . . . . . . . . . . . . .
ExpressionsAssembler Debug Symbols5-2 DSP SIMULATOR REFERENCE MANUAL MOTOROLA5.4 ASSEMBLER DEBUG SYMBOLSThe Simulator load command processes the sym
ExpressionsAssembler Debug SymbolsMOTOROLA DSP SIMULATOR REFERENCE MANUAL 5-3@line_number - translates to the address associated with line_number in t
ExpressionsConstants5-4 DSP SIMULATOR REFERENCE MANUAL MOTOROLA5.5 CONSTANTSConstants represent quantities of data that do not vary in value during
ExpressionsOperatorsMOTOROLA DSP SIMULATOR REFERENCE MANUAL 5-55.6 OPERATORSSome of the Evaluator operators can be used with both floating point and
ExpressionsOperators5-6 DSP SIMULATOR REFERENCE MANUAL MOTOROLA5.6.3 Bitwise operators (binary):AND (&) - Integer onlyinclusive OR (|) - Integer
ExpressionsOperator PrecedenceMOTOROLA DSP SIMULATOR REFERENCE MANUAL 5-75.6.6 Logical operators:Logical AND (&&)Logical OR (||)The logical
MOTOROLA DSP SIMULATOR REFERENCE MANUAL 6-1Chapter 6DSP OBJECT MODULE FORMAT6.1 INTRODUCTIONThe DSP COFF object module format, which is produced by
DSP Object Module FormatRecord Definitions6-2 DSP SIMULATOR REFERENCE MANUAL MOTOROLA6.2 RECORD DEFINITIONSThere are six DSP OMF record types define
DSP Object Module FormatRecord DefinitionsMOTOROLA DSP SIMULATOR REFERENCE MANUAL 6-3The characters may be upper or lower case, although the assembler
Table of ContentsIndexMOTOROLA DSP SIMULATOR REFERENCE MANUAL xiii9.5.9 EXECUTE//BREAKPOINTS//ENABLE, DISABLE . . . . . . . . . . . . . . . . 9-539.5.
DSP Object Module FormatRecord Definitions6-4 DSP SIMULATOR REFERENCE MANUAL MOTOROLAAn arbitrary number of symbol/address pairs follows the memory sp
MOTOROLA DSP SIMULATOR REFERENCE MANUAL 7-1Chapter 7C LIBRARY FUNCTIONS7.1 INTRODUCTIONThe SIMDSP Simulator package includes several object code lib
C Library FunctionsSimulator Object Library Entry Points7-2 DSP SIMULATOR REFERENCE MANUAL MOTOROLA7.2 SIMULATOR OBJECT LIBRARY ENTRY POINTSThe foll
C Library FunctionsSimulator Object Library Entry PointsMOTOROLA DSP SIMULATOR REFERENCE MANUAL 7-3sim_gmcmd(devn,command_string); Get command string
C Library FunctionsSimulator Object Library Entry Points7-4 DSP SIMULATOR REFERENCE MANUAL MOTOROLA7.2.1 dspt_masm_xxxxx: Assemble DSP Mnemonicint d
C Library FunctionsSimulator Object Library Entry PointsMOTOROLA DSP SIMULATOR REFERENCE MANUAL 7-57.2.2 dspt_unasm_xxxxx: Disassemble DSP Mnemonics
C Library FunctionsSimulator Object Library Entry Points7-6 DSP SIMULATOR REFERENCE MANUAL MOTOROLA7.2.3 dsp_exec: Execute Single Device Clock Cycle
C Library FunctionsSimulator Object Library Entry PointsMOTOROLA DSP SIMULATOR REFERENCE MANUAL 7-77.2.4 dsp_findmem: Get Map Index for Memory Prefi
C Library FunctionsSimulator Object Library Entry Points7-8 DSP SIMULATOR REFERENCE MANUAL MOTOROLA7.2.5 dsp_findpin: Get Pin Number for Pin Namedsp
C Library FunctionsSimulator Object Library Entry PointsMOTOROLA DSP SIMULATOR REFERENCE MANUAL 7-97.2.6 dsp_findport: Get Port Number and Mask for
C Library FunctionsSimulator Object Library Entry Points7-10 DSP SIMULATOR REFERENCE MANUAL MOTOROLA7.2.7 dsp_findreg: Get Peripheral and Register I
C Library FunctionsSimulator Object Library Entry PointsMOTOROLA DSP SIMULATOR REFERENCE MANUAL 7-117.2.8 dsp_free: Free a Device Structuredsp_free(
C Library FunctionsSimulator Object Library Entry Points7-12 DSP SIMULATOR REFERENCE MANUAL MOTOROLA7.2.9 dsp_fmem: Fill Memory Block with a Valueds
C Library FunctionsSimulator Object Library Entry PointsMOTOROLA DSP SIMULATOR REFERENCE MANUAL 7-137.2.10 dsp_init: Initialize a Single DSP Device
C Library FunctionsSimulator Object Library Entry Points7-14 DSP SIMULATOR REFERENCE MANUAL MOTOROLA7.2.11 dsp_ldmem: Load DSP Memory from OMF Filei
C Library FunctionsSimulator Object Library Entry PointsMOTOROLA DSP SIMULATOR REFERENCE MANUAL 7-157.2.12 dsp_load: Load All DSP Structures from St
C Library FunctionsSimulator Object Library Entry Points7-16 DSP SIMULATOR REFERENCE MANUAL MOTOROLA7.2.13 dsp_new: Create New DSP Device Structured
C Library FunctionsSimulator Object Library Entry PointsMOTOROLA DSP SIMULATOR REFERENCE MANUAL 7-177.2.14 dsp_path: Construct Filenamedsp_path(path
C Library FunctionsSimulator Object Library Entry Points7-18 DSP SIMULATOR REFERENCE MANUAL MOTOROLA7.2.15 dsp_rapin: Read DSP Analog Pin Stateint d
C Library FunctionsSimulator Object Library Entry PointsMOTOROLA DSP SIMULATOR REFERENCE MANUAL 7-197.2.16 dsp_rmem: Read DSP Memory Locationint dsp
MOTOROLA DSP SIMULATOR REFERENCE MANUAL 1-1Chapter 1 DSP SIMULATOR1.1 INTRODUCTIONThe DSP Simulator program is a software tool for developing progra
C Library FunctionsSimulator Object Library Entry Points7-20 DSP SIMULATOR REFERENCE MANUAL MOTOROLA7.2.17 dsp_rpin: Read DSP Pin Stateint dsp_rpin(
C Library FunctionsSimulator Object Library Entry PointsMOTOROLA DSP SIMULATOR REFERENCE MANUAL 7-217.2.18 dsp_rport: Read DSP Port Statedsp_rport(d
C Library FunctionsSimulator Object Library Entry Points7-22 DSP SIMULATOR REFERENCE MANUAL MOTOROLA7.2.19 dsp_rreg: Read a DSP Device Registerdsp_r
C Library FunctionsSimulator Object Library Entry PointsMOTOROLA DSP SIMULATOR REFERENCE MANUAL 7-237.2.20 dsp_save: Save All DSP Structures to Stat
C Library FunctionsSimulator Object Library Entry Points7-24 DSP SIMULATOR REFERENCE MANUAL MOTOROLA7.2.21 dsp_startup: Initialize DSP Structuresint
C Library FunctionsSimulator Object Library Entry PointsMOTOROLA DSP SIMULATOR REFERENCE MANUAL 7-257.2.22 dsp_unlock: Unlock Password Protected Dev
C Library FunctionsSimulator Object Library Entry Points7-26 DSP SIMULATOR REFERENCE MANUAL MOTOROLA7.2.23 dsp_wapin: Write DSP Analog Pin Stateint
C Library FunctionsSimulator Object Library Entry PointsMOTOROLA DSP SIMULATOR REFERENCE MANUAL 7-277.2.24 dsp_wmem: Write DSP Memory Locationdsp_wm
C Library FunctionsSimulator Object Library Entry Points7-28 DSP SIMULATOR REFERENCE MANUAL MOTOROLA7.2.25 dsp_wpin: Write DSP Pin Stateint dsp_wpin
C Library FunctionsSimulator Object Library Entry PointsMOTOROLA DSP SIMULATOR REFERENCE MANUAL 7-297.2.26 dsp_wport: Write DSP Port Statedsp_wport(
DSP SimulatorOperating Environment1-2 DSP SIMULATOR REFERENCE MANUAL MOTOROLA1.3 OPERATING ENVIRONMENTThe minimum hardware requirements for the DSP
C Library FunctionsSimulator Object Library Entry Points7-30 DSP SIMULATOR REFERENCE MANUAL MOTOROLA7.2.27 dsp_wreg: Write a DSP Device Registerdsp_
C Library FunctionsSimulator Object Library Entry PointsMOTOROLA DSP SIMULATOR REFERENCE MANUAL 7-317.2.28 sim_docmd: Execute Simulator User Interfa
C Library FunctionsSimulator Object Library Entry Points7-32 DSP SIMULATOR REFERENCE MANUAL MOTOROLA7.2.29 sim_gmcmd: Get Command String from Macro
C Library FunctionsSimulator Object Library Entry PointsMOTOROLA DSP SIMULATOR REFERENCE MANUAL 7-337.2.30 sim_gtcmd: Get Command String from Termin
C Library FunctionsSimulator External Memory Functions7-34 DSP SIMULATOR REFERENCE MANUAL MOTOROLA7.3 SIMULATOR EXTERNAL MEMORY FUNCTIONSThe followi
C Library FunctionsSimulator External Memory FunctionsMOTOROLA DSP SIMULATOR REFERENCE MANUAL 7-357.3.1 dsp_alloc: Allocate Simulator Program Memory
C Library FunctionsSimulator External Memory Functions7-36 DSP SIMULATOR REFERENCE MANUAL MOTOROLA7.3.2 dspl_xmend: End DSP External Memory Accessds
C Library FunctionsSimulator External Memory FunctionsMOTOROLA DSP SIMULATOR REFERENCE MANUAL 7-377.3.3 dspl_xmfree: Free DSP Device External Memory
C Library FunctionsSimulator External Memory Functions7-38 DSP SIMULATOR REFERENCE MANUAL MOTOROLA7.3.4 dspl_xminit: Initialize DSP Device External
C Library FunctionsSimulator External Memory FunctionsMOTOROLA DSP SIMULATOR REFERENCE MANUAL 7-397.3.5 dspl_xmload: Load DSP External Memory from S
DSP SimulatorRunning the SimulatorMOTOROLA DSP SIMULATOR REFERENCE MANUAL 1-31.4 RUNNING THE SIMULATORThe format for invoking the Simulator is:SIMDS
C Library FunctionsSimulator External Memory Functions7-40 DSP SIMULATOR REFERENCE MANUAL MOTOROLA7.3.6 dspl_xmnew: Create New External Memory Struc
C Library FunctionsSimulator External Memory FunctionsMOTOROLA DSP SIMULATOR REFERENCE MANUAL 7-417.3.7 dspl_xmrd: Read DSP External Memory Location
C Library FunctionsSimulator External Memory Functions7-42 DSP SIMULATOR REFERENCE MANUAL MOTOROLA7.3.8 dspl_xmsave: Save DSP External Memory to Sta
C Library FunctionsSimulator External Memory FunctionsMOTOROLA DSP SIMULATOR REFERENCE MANUAL 7-437.3.9 dspl_xmstart: Start DSP External Memory Acce
C Library FunctionsSimulator External Memory Functions7-44 DSP SIMULATOR REFERENCE MANUAL MOTOROLA7.3.10 dspl_xmwr: Write DSP External Memory Locati
C Library FunctionsSimulator Screen Management FunctionsMOTOROLA DSP SIMULATOR REFERENCE MANUAL 7-457.4 SIMULATOR SCREEN MANAGEMENT FUNCTIONSThe fol
C Library FunctionsSimulator Screen Management Functions7-46 DSP SIMULATOR REFERENCE MANUAL MOTOROLA7.4.1 simw_ceol: Clear to End of Linesimw_ceol()
C Library FunctionsSimulator Screen Management FunctionsMOTOROLA DSP SIMULATOR REFERENCE MANUAL 7-477.4.6 simw_gkey: Translated Keyboard Inputsimw_g
C Library FunctionsSimulator Screen Management Functions7-48 DSP SIMULATOR REFERENCE MANUAL MOTOROLA7.4.10 simw_redraw: Redraw Screen After Scroll C
C Library FunctionsSimulator Screen Management FunctionsMOTOROLA DSP SIMULATOR REFERENCE MANUAL 7-497.4.15 simw_wscr: Write String and Perform Loggi
DSP SimulatorCommand Entry1-4 DSP SIMULATOR REFERENCE MANUAL MOTOROLA1.6 COMMAND ENTRYUpon entry into the Simulator, several of the available comman
C Library FunctionsNon-Display Simulator7-50 DSP SIMULATOR REFERENCE MANUAL MOTOROLA7.5 NON-DISPLAY SIMULATORThe Simulator package contains object l
C Library FunctionsNon-Display SimulatorMOTOROLA DSP SIMULATOR REFERENCE MANUAL 7-517.5.1 Creating a New DeviceThe simcom.h file defines the maximu
C Library FunctionsNon-Display Simulator7-52 DSP SIMULATOR REFERENCE MANUAL MOTOROLA7.5.3 Executing Device CyclesAfter creating a new device - as de
C Library FunctionsMultiple Device SimulationMOTOROLA DSP SIMULATOR REFERENCE MANUAL 7-537.6 MULTIPLE DEVICE SIMULATIONThe SIMDSP Simulator initiall
C Library FunctionsMultiple Device Simulation7-54 DSP SIMULATOR REFERENCE MANUAL MOTOROLA7.6.3 External Memory DefinitionThe Simulator package conta
C Library FunctionsMultiple Device SimulationMOTOROLA DSP SIMULATOR REFERENCE MANUAL 7-557.6.5 Multiple DSP Simulator DisplayThe Simulator display f
C Library FunctionsReserved Function Names7-56 DSP SIMULATOR REFERENCE MANUAL MOTOROLA7.7 RESERVED FUNCTION NAMESThe public function names used in t
C Library FunctionsSimulator Global VariablesMOTOROLA DSP SIMULATOR REFERENCE MANUAL 7-577.8 SIMULATOR GLOBAL VARIABLESIn order to reduce conflicts
C Library FunctionsModification of Simulator Global Structures7-58 DSP SIMULATOR REFERENCE MANUAL MOTOROLA7.9 MODIFICATION OF SIMULATOR GLOBAL STRUC
MOTOROLA DSP SIMULATOR REFERENCE MANUAL 8-1Chapter 8DEVICE-DEPENDENT INFORMATION8.1 INTRODUCTIONThe preceding chapters describe Simulator informatio
DSP SimulatorDisplay ModesMOTOROLA DSP SIMULATOR REFERENCE MANUAL 1-51.7 DISPLAY MODESThe Simulator supports three display modes - register, assembl
Device-Dependent InformationOperating Modes8-2 DSP SIMULATOR REFERENCE MANUAL MOTOROLAplay versions of the same object modules. In addition, the libra
Device-Dependent InformationModification of Device Global StructuresMOTOROLA DSP SIMULATOR REFERENCE MANUAL 8-38.7 MODIFICATION OF DEVICE GLOBAL STR
Device-Dependent InformationModification of Device Global Structures8-4 DSP SIMULATOR REFERENCE MANUAL MOTOROLAdx_periph_56116 This structure can be m
Device-Dependent InformationModification of Device Global StructuresMOTOROLA DSP SIMULATOR REFERENCE MANUAL 8-5dx_56116 This structure is mostly a con
MOTOROLA DSP SIMULATOR REFERENCE MANUAL 9-1Chapter 9GRAPHICAL USER INTERFACE 9.1 INTRODUCTION9.1.1 Target AudienceThis chapter is intended to be r
Graphical User InterfaceIntroduction9-2 DSP SIMULATOR REFERENCE MANUAL MOTOROLA9.1.3 Platform SpecificsThe operation of the Simulator under the grap
Graphical User InterfaceIntroductionMOTOROLA DSP SIMULATOR REFERENCE MANUAL 9-39.1.3.2 File ChooserThe dialog box supplied by the platform for the p
Graphical User InterfaceIntroduction9-4 DSP SIMULATOR REFERENCE MANUAL MOTOROLA9.1.3.3 Multiple OperationsMany operations may need to be performed s
Graphical User InterfaceIntroductionMOTOROLA DSP SIMULATOR REFERENCE MANUAL 9-5The GUI consists of a set of tools - menus, dialog boxes, windows and b
Graphical User InterfaceIntroduction9-6 DSP SIMULATOR REFERENCE MANUAL MOTOROLA9.1.4.2 Starting the SimulatorAt system start-up, the main window ope
Graphical User InterfaceIntroductionMOTOROLA DSP SIMULATOR REFERENCE MANUAL 9-79.1.4.5 Examining and Changing MemoryAfter loading the program, you c
Graphical User InterfaceIntroduction9-8 DSP SIMULATOR REFERENCE MANUAL MOTOROLAThe DEVICE button selects which DSP processor is affected by user comma
Graphical User InterfaceIntroductionMOTOROLA DSP SIMULATOR REFERENCE MANUAL 9-9Input associates a data file with some part of the device. Every time t
Graphical User InterfaceIntroduction9-10 DSP SIMULATOR REFERENCE MANUAL MOTOROLAMost GUI operations generate commands for the debugger. These commands
Graphical User InterfaceFILE menuMOTOROLA DSP SIMULATOR REFERENCE MANUAL 9-119.2 FILE menuThe File menu handles all operations associatedwith file h
Graphical User InterfaceFILE menu9-12 DSP SIMULATOR REFERENCE MANUAL MOTOROLAThe alternate source path is used if a command is typed directly into the
Graphical User InterfaceFILE menuMOTOROLA DSP SIMULATOR REFERENCE MANUAL 9-13Figure 9-9. FILE//LOAD//COFF, OMF dialog Box9.2.3 FILE//SAVE//MEMORY.
Graphical User InterfaceFILE menu9-14 DSP SIMULATOR REFERENCE MANUAL MOTOROLAFigure 9-10. FILE//SAVE//COFF, OMF dialog BoxBoth the OMF and COFF opti
Graphical User InterfaceFILE menuMOTOROLA DSP SIMULATOR REFERENCE MANUAL 9-159.2.4 FILE//SAVE//STATE - see FILE//LOAD//STATE9.2.5 FILE//LOAD//STAT
MOTOROLA DSP SIMULATOR REFERENCE MANUAL 2-1Chapter 2SIMULATOR COMMANDS2.1 COMMAND OVERVIEWThere are a total of twenty-five Simulator commands. These
Graphical User InterfaceFILE menu9-16 DSP SIMULATOR REFERENCE MANUAL MOTOROLA9.2.6 FILE//INPUT//OPENFILE//INPUT//OPEN reads data from the terminal o
Graphical User InterfaceFILE menuMOTOROLA DSP SIMULATOR REFERENCE MANUAL 9-179.2.7 FILE//INPUT//PININPUT PIN provides a logical connection to a pin
Graphical User InterfaceFILE menu9-18 DSP SIMULATOR REFERENCE MANUAL MOTOROLA Figure 9-14. FILE//INPUT//ADDRESS dialog Box9.2.9 FILE//INPUT//CLOSE
Graphical User InterfaceFILE menuMOTOROLA DSP SIMULATOR REFERENCE MANUAL 9-199.2.10 FILE//OUTPUT/OPENFILE//OUTPUT writes a single data item from the
Graphical User InterfaceFILE menu9-20 DSP SIMULATOR REFERENCE MANUAL MOTOROLA9.2.11 FILE//OUTPUT//CLOSEOUTPUT//CLOSE closes all or selected outputs
Graphical User InterfaceFILE menuMOTOROLA DSP SIMULATOR REFERENCE MANUAL 9-21 Figure 9-17. FILE//IO REDIRECT//... Dialog Boxes9.2.14 FILE//LOG//CO
Graphical User InterfaceFILE menu9-22 DSP SIMULATOR REFERENCE MANUAL MOTOROLA.Figure 9-18. FILE//LOG//COMMANDS dialog Box9.2.15 FILE//LOG//SESSION
Graphical User InterfaceFILE menuMOTOROLA DSP SIMULATOR REFERENCE MANUAL 9-23Using the LIST FILE window, the session log can be viewed without closing
Graphical User InterfaceFILE menu9-24 DSP SIMULATOR REFERENCE MANUAL MOTOROLAThe program profile includes an analysis of the program composition - num
Graphical User InterfaceFILE menuMOTOROLA DSP SIMULATOR REFERENCE MANUAL 9-25As the commands are read from the MACRO file, they are displayed in the C
This document contains information on a new product. Specification and informationherein are subject to change without notice. Motorola reserves the
Simulator CommandsCommand Syntax2-2 DSP SIMULATOR REFERENCE MANUAL MOTOROLAexcept that if the instruction being executed calls a subroutine or macro,
Graphical User InterfaceDISPLAY menu9-26 DSP SIMULATOR REFERENCE MANUAL MOTOROLA9.2.20 FILE//PREFERENCESThe preferences dialog box provides the opti
Graphical User InterfaceDISPLAY menuMOTOROLA DSP SIMULATOR REFERENCE MANUAL 9-27Note that each device has its own session buffer. Make the intended de
Graphical User InterfaceDISPLAY menu9-28 DSP SIMULATOR REFERENCE MANUAL MOTOROLANote that DISPLAY//DISPLAY//... is hardware oriented and intended to m
Graphical User InterfaceDISPLAY menuMOTOROLA DSP SIMULATOR REFERENCE MANUAL 9-299.3.3 DISPLAY//DISPLAY//REGISTERSControls the display of registers e
Graphical User InterfaceDISPLAY menu9-30 DSP SIMULATOR REFERENCE MANUAL MOTOROLA9.3.5 DISPLAY//DISPLAY//VERSIONDisplays debugger version number and
Graphical User InterfaceDISPLAY menuMOTOROLA DSP SIMULATOR REFERENCE MANUAL 9-31DISASSEMBLE//MEMORY writes the entire area specified. This could easil
Graphical User InterfaceDISPLAY menu9-32 DSP SIMULATOR REFERENCE MANUAL MOTOROLA9.3.10 DISPLAY//LISTDisplays the source file for the executing progr
Graphical User InterfaceDISPLAY menuMOTOROLA DSP SIMULATOR REFERENCE MANUAL 9-33C expressions are evaluated in the context of the current stack frame
Graphical User InterfaceDISPLAY menu9-34 DSP SIMULATOR REFERENCE MANUAL MOTOROLA9.3.12 DISPLAY//CALL STACKDisplays summary information about call st
Graphical User InterfaceDISPLAY menuMOTOROLA DSP SIMULATOR REFERENCE MANUAL 9-359.3.14 DISPLAY//DEVICEDisplays the status of each possible DSP devic
Simulator CommandsCommand SyntaxMOTOROLA DSP SIMULATOR REFERENCE MANUAL 2-3Parentheses () surround a description of an implied action. This is only in
Graphical User InterfaceDISPLAY menu9-36 DSP SIMULATOR REFERENCE MANUAL MOTOROLAFigure 9-41. DISPLAY//PATH Output9.3.16 DISPLAY//INPUT FILES - see
Graphical User InterfaceDISPLAY menuMOTOROLA DSP SIMULATOR REFERENCE MANUAL 9-379.3.19 DISPLAY//IO STREAMS STATUSIO stream redirection supports stre
Graphical User InterfaceDISPLAY menu9-38 DSP SIMULATOR REFERENCE MANUAL MOTOROLA9.3.21 DISPLAY//BREAKPOINTSDisplays all breakpoints set for the curr
Graphical User InterfaceDISPLAY menuMOTOROLA DSP SIMULATOR REFERENCE MANUAL 9-399.3.23 DISPLAY//WATCH//ADDDISPLAY//WATCH//ADD adds expressions to th
Graphical User InterfaceDISPLAY menu9-40 DSP SIMULATOR REFERENCE MANUAL MOTOROLA9.3.25 DISPLAY//TYPEDisplays the type of a C variable or expression.
Graphical User InterfaceDISPLAY menuMOTOROLA DSP SIMULATOR REFERENCE MANUAL 9-419.3.27 DISPLAY//VIEW//REGISTERThe DISPLAY//VIEW commands control the
Graphical User InterfaceDISPLAY menu9-42 DSP SIMULATOR REFERENCE MANUAL MOTOROLA9.3.28 DISPLAY//VIEW//ASSEMBLY - See DISPLAY//VIEW//SOURCE9.3.29 D
Graphical User InterfaceMODIFY menuMOTOROLA DSP SIMULATOR REFERENCE MANUAL 9-439.4 MODIFY menuThe Modify menu examines and alters many as-pects of t
Graphical User InterfaceMODIFY menu9-44 DSP SIMULATOR REFERENCE MANUAL MOTOROLA9.4.2 MODIFY//CHANGE MEMORYMODIFY//CHANGE MEMORY changes a range of m
Graphical User InterfaceMODIFY menuMOTOROLA DSP SIMULATOR REFERENCE MANUAL 9-459.4.4 MODIFY//RADIX//SET DEFAULTMODIFY//RADIX//SET DEFAULT specifies
Simulator CommandsCommand Syntax2-4 DSP SIMULATOR REFERENCE MANUAL MOTOROLAc_expression =any expression valid in the current C program. A c_expression
Graphical User InterfaceMODIFY menu9-46 DSP SIMULATOR REFERENCE MANUAL MOTOROLA9.4.6 MODIFY//DEVICE//SET DEFAULTMODIFY//DEVICE//SET DEFAULT selects
Graphical User InterfaceMODIFY menuMOTOROLA DSP SIMULATOR REFERENCE MANUAL 9-479.4.8 MODIFY//DEVICE//UNLOCKThe development system may contain hidden
Graphical User InterfaceEXECUTE menu9-48 DSP SIMULATOR REFERENCE MANUAL MOTOROLA9.5 EXECUTE menuThe Execute menu controls the execution of pro-grams
Graphical User InterfaceEXECUTE menuMOTOROLA DSP SIMULATOR REFERENCE MANUAL 9-49During execution, the bottom line of themain display shows program pro
Graphical User InterfaceEXECUTE menu9-50 DSP SIMULATOR REFERENCE MANUAL MOTOROLAEXECUTE//TRACE outputs all enabled registers andmemory locations after
Graphical User InterfaceEXECUTE menuMOTOROLA DSP SIMULATOR REFERENCE MANUAL 9-519.5.7 EXECUTE//BREAKPOINTS//SETSet breakpoint and specify action to
Graphical User InterfaceEXECUTE menu9-52 DSP SIMULATOR REFERENCE MANUAL MOTOROLAAn execute breakpoint location may also be specifiedby source line num
Graphical User InterfaceEXECUTE menuMOTOROLA DSP SIMULATOR REFERENCE MANUAL 9-539.5.9 EXECUTE//BREAKPOINTS//ENABLE, DISABLEBreakpoints may be disabl
Graphical User InterfaceEXECUTE menu9-54 DSP SIMULATOR REFERENCE MANUAL MOTOROLA9.5.11 EXECUTE//STOPEXECUTE//STOP interrupts execution of the DSP pr
Graphical User InterfaceWINDOWS menuMOTOROLA DSP SIMULATOR REFERENCE MANUAL 9-559.6 WINDOWS menuThe WINDOWS menu provides access to the win-dows whi
Simulator CommandsCommand SummaryMOTOROLA DSP SIMULATOR REFERENCE MANUAL 2-52.3 COMMAND SUMMARYThe following is a summary list showing the syntax of
Graphical User InterfaceWINDOWS menu9-56 DSP SIMULATOR REFERENCE MANUAL MOTOROLA9.6.1 WINDOW//ASSEMBLYOpens the ASSEMBLY window for the current dev
Graphical User InterfaceWINDOWS menuMOTOROLA DSP SIMULATOR REFERENCE MANUAL 9-57The ASSEMBLY window displays the memory in the vicinity of the program
Graphical User InterfaceWINDOWS menu9-58 DSP SIMULATOR REFERENCE MANUAL MOTOROLA9.6.3 WINDOWS//REGISTERThe REGISTER window displays and modifies a g
Graphical User InterfaceWINDOWS menuMOTOROLA DSP SIMULATOR REFERENCE MANUAL 9-599.6.4 WINDOWS//MEMORYThe MEMORY window displays and optionally chang
Graphical User InterfaceWINDOWS menu9-60 DSP SIMULATOR REFERENCE MANUAL MOTOROLA9.6.5 WINDOWS//STACKThe STACK window displays the hardware stack. Ma
Graphical User InterfaceWINDOWS menuMOTOROLA DSP SIMULATOR REFERENCE MANUAL 9-61Figure 9-80. CALLS Window9.6.7 WINDOWS//WATCHThe WATCH window disp
Graphical User InterfaceWINDOWS menu9-62 DSP SIMULATOR REFERENCE MANUAL MOTOROLAAn expression which has gone out of scope because of function a call m
Graphical User InterfaceWINDOWS menuMOTOROLA DSP SIMULATOR REFERENCE MANUAL 9-639.6.9 WINDOWS//INPUTDisplays all simulated input which has been assi
Graphical User InterfaceWINDOWS menu9-64 DSP SIMULATOR REFERENCE MANUAL MOTOROLABreakpoints set by clicking on the source window are identified by the
Graphical User InterfaceWINDOWS menuMOTOROLA DSP SIMULATOR REFERENCE MANUAL 9-65Figure 9-86. COMMAND Window9.6.13 WINDOWS//SESSIONThe SESSION wind
Simulator CommandsCommand Summary2-6 DSP SIMULATOR REFERENCE MANUAL MOTOROLATRACE [count] [CY(cycles)/LI(lines)/IN(instructions)] [H(halt at breakpoin
Graphical User InterfaceWINDOWS menu9-66 DSP SIMULATOR REFERENCE MANUAL MOTOROLAThere is only one SESSION window, but a separate output buffer for eac
Graphical User InterfaceWINDOWS menuMOTOROLA DSP SIMULATOR REFERENCE MANUAL 9-679.6.14 WINDOWS//CASCADE (Windows only)9.6.15 WINDOWS//TILE (Window
Graphical User InterfaceThe Tool Bar9-68 DSP SIMULATOR REFERENCE MANUAL MOTOROLA9.7 THE TOOL BARThe Tool Bar is located in the main win-dow just bel
Graphical User InterfaceThe Tool BarMOTOROLA DSP SIMULATOR REFERENCE MANUAL 9-699.7.5 FINISH ButtonFINISH allows the current function to execute to
INDEXMOTOROLA DSP SIMULATOR REFERENCE MANUAL I-1— A —abort . . . . . . . . . . . . . . . . . . . . . . . . 1-4addr . . . . . . . . . . . . . . . .
I-2 DSP SIMULATOR REFERENCE MANUAL MOTOROLArepeating commands . . . . . . . . . 1-4step mode . . . . . . . . . . . . . 2-1, 2-43trace mode 2-1, 2-
MOTOROLA DSP SIMULATOR REFERENCE MANUAL I-3Ctrl-F . . . . . . . . . . . . . . . . . . . . . . . . 1-4Ctrl-H . . . . . . . . . . . . . . . . . . . .
I-4 DSP SIMULATOR REFERENCE MANUAL MOTOROLAsyntax . . . . . . . . . . . . . . . . . 2-3, 2-4— F —features . . . . . . . . . . . . . . . . . . . .
MOTOROLA DSP SIMULATOR REFERENCE MANUAL I-5LIST . . . . . . . . . . . . . . . . . . . . .2-2, 2-29LOAD . . . . . . . . . . . . . . . . . . . .2-1, 2-3
Simulator CommandsCommand SummaryMOTOROLA DSP SIMULATOR REFERENCE MANUAL 2-7QUIT [E(enable)] [D(disable)]RADIX [B(binary)/D(dec)/F(float)/H(hex)/U(
I-6 DSP SIMULATOR REFERENCE MANUAL MOTOROLApathname . . . . . . . . . . . . . . . . . . . . . 2-4peripheraldisplay . . . . . . . . . . . . . . . . .
MOTOROLA DSP SIMULATOR REFERENCE MANUAL I-7SYMBOL . . . . . . . . . . . . . . . . . . . . . 6-3symbols . . . . . . . . . . . . . . . . . . . . . 2
Simulator CommandsCommand Summary2-8 DSP SIMULATOR REFERENCE MANUAL MOTOROLA2.3.1 ASM: Single Line Interactive AssemblerASM [B(byte wide)] [(beginni
Simulator CommandsCommand SummaryMOTOROLA DSP SIMULATOR REFERENCE MANUAL 2-9EXAMPLESasm p:$50Start interactive assembler at program memory address 50
Simulator CommandsCommand Summary2-10 DSP SIMULATOR REFERENCE MANUAL MOTOROLA2.3.2 BREAK: Set, Modify, or Clear BreakpointBREAK [#bn] [expression] [
Simulator CommandsCommand SummaryMOTOROLA DSP SIMULATOR REFERENCE MANUAL 2-11The breakpoint expression usually involves comparison of register or memo
MOTOROLA DSP SIMULATOR REFERENCE MANUAL vTABLE OF CONTENTSTABLE OF CONTENTSChapter 1DSP SIMULATOR1.1 INTRODUCTION . . . . . . . . . . . . . . . . . .
Simulator CommandsCommand Summary2-12 DSP SIMULATOR REFERENCE MANUAL MOTOROLAbreak (lc<10)&&(pc>100)Halt if the loop counter is less tha
Simulator CommandsCommand SummaryMOTOROLA DSP SIMULATOR REFERENCE MANUAL 2-132.3.3 CHANGE: Change Register or Memory ValueCHANGE [register[_block]
Simulator CommandsCommand Summary2-14 DSP SIMULATOR REFERENCE MANUAL MOTOROLAEXAMPLESchange pcDisplay register values individually starting with the p
Simulator CommandsCommand SummaryMOTOROLA DSP SIMULATOR REFERENCE MANUAL 2-152.3.4 COPY: Copy a Memory BlockCOPY (from) addr[_block] (to) addrThe co
Simulator CommandsCommand Summary2-16 DSP SIMULATOR REFERENCE MANUAL MOTOROLA2.3.5 DEVICE: Multiple Device SimulationDEVICE [dev_num [dev_type/ON/OF
Simulator CommandsCommand SummaryMOTOROLA DSP SIMULATOR REFERENCE MANUAL 2-172.3.6 DISASSEMBLE: Object Code DisassemblerDISASSEMBLE [B(byte wide)] [
Simulator CommandsCommand Summary2-18 DSP SIMULATOR REFERENCE MANUAL MOTOROLA2.3.7 DISPLAY: Display Register or MemoryDISPLAY [ON/OFF/R/W/RW] [reg[_
Simulator CommandsCommand SummaryMOTOROLA DSP SIMULATOR REFERENCE MANUAL 2-19EXAMPLESdisplay onEnable all registers for displaydisplay on pi:0..20 xi:
Simulator CommandsCommand Summary2-20 DSP SIMULATOR REFERENCE MANUAL MOTOROLA2.3.8 DOWN: Move Down the C Function Call StackDOWN [n]The down command
Simulator CommandsCommand SummaryMOTOROLA DSP SIMULATOR REFERENCE MANUAL 2-212.3.9 EVALUATE: Evaluate an ExpressionEVALUATE [B(binary)/D(dec)/F(floa
Table of ContentsSimulator Commandsvi DSP SIMULATOR REFERENCE MANUAL MOTOROLA2.3 .8 DOWN: Move Down the C Function Call Stack. . . . . . . . . . . . .
Simulator CommandsCommand Summary2-22 DSP SIMULATOR REFERENCE MANUAL MOTOROLA2.3.10 FINISH: Step Until End of Current SubroutineFINISHThe finish com
Simulator CommandsCommand SummaryMOTOROLA DSP SIMULATOR REFERENCE MANUAL 2-232.3.11 FRAME: Select C Function Call Stack FrameFRAME [#n]The frame com
Simulator CommandsCommand Summary2-24 DSP SIMULATOR REFERENCE MANUAL MOTOROLA2.3.12 GO: Execute DSP ProgramGO [(from)location/R(reset)] [(to brea
Simulator CommandsCommand SummaryMOTOROLA DSP SIMULATOR REFERENCE MANUAL 2-252.3.13 HELP: Simulator Help TextHELP [command/reg/topic]The help comman
Simulator CommandsCommand Summary2-26 DSP SIMULATOR REFERENCE MANUAL MOTOROLA2.3.14 HISTORY: Disassemble Previously Executed InstructionHISTORYThe h
Simulator CommandsCommand SummaryMOTOROLA DSP SIMULATOR REFERENCE MANUAL 2-272.3.15 INPUT: Assign Input FileINPUT [#n] [T(timed)] addr/port/periph/p
Simulator CommandsCommand Summary2-28 DSP SIMULATOR REFERENCE MANUAL MOTOROLAinput d15..d0 dfileGet values for pins D15 through D0 from input file &qu
Simulator CommandsCommand SummaryMOTOROLA DSP SIMULATOR REFERENCE MANUAL 2-292.3.16 LIST: List Source File LinesLIST [+/-/./addr]The list command di
Simulator CommandsCommand Summary2-30 DSP SIMULATOR REFERENCE MANUAL MOTOROLA2.3.17 LOAD: Load DSP Files or ConfigurationLOAD [S(state)|M(memory-o
Simulator CommandsCommand SummaryMOTOROLA DSP SIMULATOR REFERENCE MANUAL 2-312.3.18 LOG: Log Commands, Session, ProfileLOG [OFF] [C(commands)/S(se
Table of ContentsDevice I/O and Peripheral SimulationMOTOROLA DSP SIMULATOR REFERENCE MANUAL vii2.3 .44 WINPUT: GUI File Input window. . . . . . . . .
Simulator CommandsCommand Summary2-32 DSP SIMULATOR REFERENCE MANUAL MOTOROLAlog off cTerminate command logging.log offTerminate all logging.log vlog
Simulator CommandsCommand SummaryMOTOROLA DSP SIMULATOR REFERENCE MANUAL 2-332.3.19 MORE- Enable/Disable session paging control.MORE [OFF]The more c
Simulator CommandsCommand Summary2-34 DSP SIMULATOR REFERENCE MANUAL MOTOROLA2.3.20 NEXT: Step Over Subroutine Calls or MacrosNEXT [count] [LI(lines
Simulator CommandsCommand SummaryMOTOROLA DSP SIMULATOR REFERENCE MANUAL 2-352.3.21 OUTPUT: Assign Output FileOUTPUT [#n] [T] addr/port/periph/pin[_
Simulator CommandsCommand Summary2-36 DSP SIMULATOR REFERENCE MANUAL MOTOROLAEXAMPLESoutput x:$0 xfile -rdStore values written to memory location x:0
Simulator CommandsCommand SummaryMOTOROLA DSP SIMULATOR REFERENCE MANUAL 2-372.3.22 PATH: Specify Default PathnamePATH [pathname]PATH + pathname[
Simulator CommandsCommand Summary2-38 DSP SIMULATOR REFERENCE MANUAL MOTOROLA2.3.23 QUIT: Quit Simulator SessionQUIT [E(enable)/D(disable)]The quit
Simulator CommandsCommand SummaryMOTOROLA DSP SIMULATOR REFERENCE MANUAL 2-392.3.24 RADIX: Change Input or Display RadixRADIX [B(binary)/D(dec)/F
Simulator CommandsCommand Summary2-40 DSP SIMULATOR REFERENCE MANUAL MOTOROLA2.3.25 REDIRECT: Redirect stdin/stdout/stderr for C ProgramsREDIRECT ST
Simulator CommandsCommand SummaryMOTOROLA DSP SIMULATOR REFERENCE MANUAL 2-412.3.26 RESET: Reset Device or StateRESET S(state)/D(device) [mode]The r
Table of ContentsDSP Object Module Formatviii DSP SIMULATOR REFERENCE MANUAL MOTOROLA5.3 REGISTER NAME SYMBOLS . . . . . . . . . . . . . . . . . . . .
Simulator CommandsCommand Summary2-42 DSP SIMULATOR REFERENCE MANUAL MOTOROLA2.3.27 SAVE: Save Simulator FileSAVE S(state)/addr[_block]... filename
Simulator CommandsCommand SummaryMOTOROLA DSP SIMULATOR REFERENCE MANUAL 2-432.3.28 STEP: Step Through DSP ProgramSTEP [count] [CY(cycles)/LI(lines)
Simulator CommandsCommand Summary2-44 DSP SIMULATOR REFERENCE MANUAL MOTOROLA2.3.29 STREAMS: Enable/Disable Handling of I/O for C ProgramsSTREAMS [E
Simulator CommandsCommand SummaryMOTOROLA DSP SIMULATOR REFERENCE MANUAL 2-452.3.30 SYSTEM: Execute System CommandSYSTEM [-C(continue immediately)]
Simulator CommandsCommand Summary2-46 DSP SIMULATOR REFERENCE MANUAL MOTOROLA2.3.31 TRACE: Trace Through DSP ProgramTRACE [count] [CY(cycles)/LI(lin
Simulator CommandsCommand SummaryMOTOROLA DSP SIMULATOR REFERENCE MANUAL 2-472.3.32 TYPE: Display the Result Type of C ExpressionTYPE {c_expression}
Simulator CommandsCommand Summary2-48 DSP SIMULATOR REFERENCE MANUAL MOTOROLA2.3.33 UNLOCK: Unlock Password Protected Device TypeUNLOCK dev_type pas
Simulator CommandsCommand SummaryMOTOROLA DSP SIMULATOR REFERENCE MANUAL 2-492.3.34 UNTIL: Step Until AddressUNTIL addr [H(halt at breakpoints)]The
Simulator CommandsCommand Summary2-50 DSP SIMULATOR REFERENCE MANUAL MOTOROLA2.3.35 UP: Move Up the C Function Call Stackup [n]The up command is use
Simulator CommandsCommand SummaryMOTOROLA DSP SIMULATOR REFERENCE MANUAL 2-512.3.36 VIEW: Select Display ModeVIEW [A(assembly)/S(source)/R(register)
Table of ContentsC Library FunctionsMOTOROLA DSP SIMULATOR REFERENCE MANUAL ix7.2 .16 dsp_rmem: Read DSP Memory Location . . . . . . . . . . . . . . .
Simulator CommandsCommand Summary2-52 DSP SIMULATOR REFERENCE MANUAL MOTOROLA2.3.37 WAIT: Wait Specified TimeWAIT [count(seconds)]The wait comman
Simulator CommandsCommand SummaryMOTOROLA DSP SIMULATOR REFERENCE MANUAL 2-532.3.38 WASM: GUI Assembly windowWASM [OFF]Wasm is a GUI command that op
Simulator CommandsCommand Summary2-54 DSP SIMULATOR REFERENCE MANUAL MOTOROLA2.3.39 WATCH: Set, Modify, View, or Clear Watch ItemWATCH [#wn] [radix]
Simulator CommandsCommand SummaryMOTOROLA DSP SIMULATOR REFERENCE MANUAL 2-552.3.40 WBREAKPOINT: GUI Breakpoint windowWBREAKPOINT [OFF]Wbreakpoint i
Simulator CommandsCommand Summary2-56 DSP SIMULATOR REFERENCE MANUAL MOTOROLA2.3.41 WCALLS: GUI C Calls Stack windowWCALLS [OFF]Wcalls is a GUI comm
Simulator CommandsCommand SummaryMOTOROLA DSP SIMULATOR REFERENCE MANUAL 2-572.3.42 WCOMMAND: GUI Command windowWCOMMAND [OFF]Wcommand is a GUI comm
Simulator CommandsCommand Summary2-58 DSP SIMULATOR REFERENCE MANUAL MOTOROLA2.3.43 WHERE: GUI C Calls Stack windowWHERE [[+/-]n]Where is a GUI comm
Simulator CommandsCommand SummaryMOTOROLA DSP SIMULATOR REFERENCE MANUAL 2-592.3.44 WINPUT: GUI File Input windowWINPUT [OFF]Winput is a GUI command
Simulator CommandsCommand Summary2-60 DSP SIMULATOR REFERENCE MANUAL MOTOROLA2.3.45 WLIST: GUI list windowWLIST [OFF]Wlist is a GUI command that ope
Simulator CommandsCommand SummaryMOTOROLA DSP SIMULATOR REFERENCE MANUAL 2-612.3.46 WMEMORY: GUI Memory windowWMEMORY [OFF]Wmemory is a GUI command
Table of ContentsDevice-Dependent Informationx DSP SIMULATOR REFERENCE MANUAL MOTOROLA7.4.10 simw_redraw: Redraw Screen After Scroll Count . . . . . .
Simulator CommandsCommand Summary2-62 DSP SIMULATOR REFERENCE MANUAL MOTOROLA2.3.47 WOUTPUT: GUI File Output windowWOUTPUT [OFF]Woutput is a GUI com
Simulator CommandsCommand SummaryMOTOROLA DSP SIMULATOR REFERENCE MANUAL 2-632.3.48 WREGISTER: GUI Register windowWREGISTER [win_num] [OFF]Wregister
Simulator CommandsCommand Summary2-64 DSP SIMULATOR REFERENCE MANUAL MOTOROLA2.3.49 WSESSION: GUI session windowWSESSION [OFF]Wsession is a GUI comm
Simulator CommandsCommand SummaryMOTOROLA DSP SIMULATOR REFERENCE MANUAL 2-652.3.50 WSOURCE: GUI Source windowWSOURCE [OFF]Wsource is a GUI command
Simulator CommandsCommand Summary2-66 DSP SIMULATOR REFERENCE MANUAL MOTOROLA2.3.51 WSTACK: GUI Stack windowWSTACK [OFF]Wstack is a GUI command that
Simulator CommandsCommand SummaryMOTOROLA DSP SIMULATOR REFERENCE MANUAL 2-672.3.52 WWATCH: GUI watch windowWWATCH [win_num] [#n] [OFF]Wwatch is a G
Simulator CommandsDebugging C Programs2-68 DSP SIMULATOR REFERENCE MANUAL MOTOROLA2.4 DEBUGGING C PROGRAMSThe Simulator software is capable of loadi
Simulator CommandsDebugging C ProgramsMOTOROLA DSP SIMULATOR REFERENCE MANUAL 2-69prefixing them with a dollar sign ($) in the C expression. For regis
Simulator CommandsDebugging C Programs2-70 DSP SIMULATOR REFERENCE MANUAL MOTOROLAthe result of a C expression. In addition to the result, the type of
MOTOROLA DSP SIMULATOR REFERENCE MANUAL 3-1Chapter 3DEVICE I/O AND PERIPHERAL SIMULATION3.1 INTRODUCTIONThe DSP on-chip peripherals are simulated on
Table of ContentsGraphical User InterfaceMOTOROLA DSP SIMULATOR REFERENCE MANUAL xi9.1.4 Graphical Interface Functions Overview. . . . . . . . . . . .
Device I/O and Peripheral SimulationI/O File Contents3-2 DSP SIMULATOR REFERENCE MANUAL MOTOROLA(1#5 0#5)Repeat the untimed data sequence 1 1 1 1 1 0
Device I/O and Peripheral SimulationI/O File ContentsMOTOROLA DSP SIMULATOR REFERENCE MANUAL 3-33.2.4 I/O File Peripheral DataEach DSP peripheral ca
Device I/O and Peripheral SimulationI/O File Contents3-4 DSP SIMULATOR REFERENCE MANUAL MOTOROLA3.2.5 I/O File Port DataWhen assigned to a DSP port,
Device I/O and Peripheral SimulationI/O File ContentsMOTOROLA DSP SIMULATOR REFERENCE MANUAL 3-53.2.6 I/O File Memory DataWhen assigned to a memory
Device I/O and Peripheral SimulationI/O File Contents3-6 DSP SIMULATOR REFERENCE MANUAL MOTOROLAThe following timed memory input file will cause the d
Device I/O and Peripheral SimulationI/O File ContentsMOTOROLA DSP SIMULATOR REFERENCE MANUAL 3-73.2.7 I/O File Pin or Pin Group DataWhen assigned to
Device I/O and Peripheral SimulationI/O File Contents3-8 DSP SIMULATOR REFERENCE MANUAL MOTOROLA3.2.8 Terminal Input of Data ValuesThere are two lev
MOTOROLA DSP SIMULATOR REFERENCE MANUAL 4-1Chapter 4SIMULATOR MEMORY CONFIGURATION4.1 INTRODUCTIONSimulation of a specific DSP device configuration
MOTOROLA DSP SIMULATOR REFERENCE MANUAL 5-1Chapter 5EXPRESSIONS5.1 INTRODUCTIONThe Simulator allows an expression to be used in most places where a
Commentaires sur ces manuels