Digital Signal Processing Reference
In-Depth Information
CHAPTER
9
Hardware and Software for Digital
Signal Processors
CHAPTER OUTLINE
9.1 Digital Signal Processor Architecture ............................................................................................ 406
9.2 Digital Signal Processor Hardware Units ....................................................................................... 408
9.2.1 Multiplier and Accumulator ........................................................................................408
9.2.2 Shifters ....................................................................................................................409
9.2.3 Address Generators....................................................................................................409
9.3 Digital Signal Processors and Manufacturers ................................................................................. 411
9.4 Fixed-Point and Floating-Point Formats .......................................................................................... 411
9.4.1 Fixed-Point Format ....................................................................................................412
9.4.2 Floating-Point Format ................................................................................................419
Overflow.......................................................................................................................... 422
Underflow ....................................................................................................................... 423
9.4.3 IEEE Floating-Point Formats ......................................................................................423
Single Precision Format ................................................................................................... 423
Double Precision Format ................................................................................................. 425
9.4.5 Fixed-Point Digital Signal Processors ..........................................................................426
9.4.6 Floating-Point Processors ...........................................................................................427
9.5 Finite Impulse Response and Infinite Impulse Response Filter Implementations in Fixed-Point
Systems ............................................................................................................................................. 429
9.6 Digital Signal Processing Programming Examples .......................................................................... 434
9.6.1 Overview of TMS320C67x DSK ..................................................................................434
9.6.2 Concept of Real-Time Processing................................................................................438
9.6.3 Linear Buffering ........................................................................................................440
Finite Impulse Response Filtering .................................................................................... 441
Infinite Impulse Response Filtering .................................................................................. 442
Digital Oscillation with Infinite Impulse Response Filtering ................................................ 442
9.6.4 Sample C Programs ...................................................................................................445
Floating-Point Implementation Example ........................................................................... 445
Fixed-Point Implementation Example ............................................................................... 445
9.7 Summary ..................................................................................................................................... 448
OBJECTIVES:
This chapter introduces the basics of digital signal processors such as processor architectures and
hardware units, investigates fixed-point and floating-point formats, and illustrates the implementation
of digital filters in real time.
 
Search WWH ::




Custom Search