
1.3 Goals of the Standard
1.4 Intentional Omissions
Goals of the Standard
This section contains the goals of this standard. While it may not be possible to perfectly attain thesegoals, they represent the primary concerns that should be addressed after addressing the requiredelements described in the previous section.•Easy to adhere to the standard•Possible to verify conformance to standard•Enable system integrators to easily migrate between TI DSPs•Enable host tools to simplify a system integrator's tasks, including configuration, performancemodeling, standard conformance, and debugging.•Incur little or no "overhead" for static systems
Although TI currently enjoys a leadership role in the DSP marketplace, it cannot directly control thealgorithm software base. This is especially true for relatively mature DSPs, such as the C54xx family,where significant algorithm technology currently exists. Thus, for any specification to achieve the status ofa standard, it must represent a low hurdle for the legacy code base.
While we can all agree to a guideline that states that every algorithm must be of high quality, this type ofguideline cannot be measured or verified. This non-verification or non-measurement enables systemintegrators to claim that all their algorithms are of high quality, and therefore will not place a value on theguideline in this instance. Thus, it is important that each guideline be measurable or, in some sense,verifiable.
While this standard does define an algorithm's APIs in a DSP-independent manner, it does not seek tosolve the DSP migration problem. For example, it does not require that algorithms be provided on both aC54x and a C6x platform. It does not specify a multiple binary object file format to enable a single binaryto be used in both a C5x and a C6x design. Nor does it supply tools to translate code from onearchitecture to another or require the use of an architecture independent language (such as C) in theimplementation of algorithms.
Wherever possible, this standard tries to anticipate the needs of the system integrator and provide rulesfor the development of algorithms that allow host tools to be created that will assist the integration of thesealgorithms. For example, rules related to algorithm naming conventions enable tools that automaticallyresolve name conflicts and select alternate implementations as appropriate.
Maurice Wilkes once said, "There is no problem in computer programming that cannot be solved by anadded level of indirection." Frameworks are perfect examples of how indirection is used to "solve" DSPsoftware architecture problems; device independence is achieved by adding a level of indirection betweenalgorithms and physical peripherals, and algorithm interchangeability is achieved by using functionpointers.
On the other hand, Jim Gray has been quoted as saying, "There is no performance problem that cannotbe solved by eliminating a level of indirection." It is essential that the TMS320 DSP Algorithm Standardremain true to the spirit of the DSP developer: any overhead incurred by adherence to the standard mustbe minimized.
In this section, we describe those aspects of the standard that are intentionally omitted. This is not to saythat these issues are not important, but in the interest of timeliness, this version does not make anyrecommendation. Future versions will address these omissions.•Version control•Licensing, encryption, and IP protection•Installation and verification (i.e., digital signatures)•Documentation and online help
Like all software, algorithms evolve over time, and therefore require version control. Moreover, as theTMS320 DSP Algorithm Standard evolves, older algorithm components may fail to be compliant with thelatest specification. Ideally, a version numbering scheme would be specified that allowed host-based toolsto automatically detect incompatible versions of algorithm components.
12 Overview SPRU352G – June 2005 – Revised February 2007Submit Documentation Feedback