home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / amiga / misc / 17244 < prev    next >
Encoding:
Internet Message Format  |  1992-11-21  |  3.8 KB

  1. Xref: sparky comp.sys.amiga.misc:17244 comp.sys.amiga.advocacy:29662
  2. Path: sparky!uunet!elroy.jpl.nasa.gov!nntp-server.caltech.edu!andrey
  3. From: andrey@cco.caltech.edu (Andre T. Yew)
  4. Newsgroups: comp.sys.amiga.misc,comp.sys.amiga.advocacy
  5. Subject: Re: DSP not as good as we thought?
  6. Date: 21 Nov 1992 16:43:15 GMT
  7. Organization: California Institute of Technology, Pasadena
  8. Lines: 85
  9. Message-ID: <1elov3INNfsh@gap.caltech.edu>
  10. References: <1992Nov20.184901.15161@dcs.warwick.ac.uk> <1992Nov21.095609.11474@monu6.cc.monash.edu.au>
  11. NNTP-Posting-Host: punisher.caltech.edu
  12.  
  13. ins739l@lindblat.cc.monash.edu.au (William Fang) writes:
  14.  
  15. >Anybody out there has a true idea of what can be done with a DSP chip?
  16.  
  17. >Some questions I would like answered would be:
  18.  
  19. >o    Who makes them
  20.  
  21.     Motorola, TI, Analog Devices, and AT&T are some of the
  22. more popular ones.
  23.  
  24. >o    Various prices and specs, is xxx better than yyy?
  25.  
  26.     Very cheap to very expensive (less than $10 to hundreds of
  27. dollars for really fancy ones like the Motorola 96002).  There
  28. are too many to list.  As for one being better than the other,
  29. there are lots of factors affecting this: cost, efficiency
  30. at what you want it to do, ease at building it into your
  31. system, availability of programming tools, etc.
  32.  
  33. >o    What can be done with a DSP
  34.  
  35.     Lots of things.  They're designed to deal with signal-
  36. processing algorithms best like fast Fourier transforms,
  37. convolutions and filter networks.  Motorola doesn't hesitate
  38. to tell you how close to the theoretical limit its DSPs come
  39. when performing the FFT, for example.
  40.  
  41.     Some distinguishing features of DSPs are:  on chip register
  42. stack (good for really fast do-while loops), modulo anything
  43. memory addressing (good for cycling over a buffer of samples),
  44. multiple address spaces, parallel operation of (usually) fetch
  45. and arithmetic operations.  For example, the Motorola 56001 can
  46. dereference a register, increment it, and move it to another
  47. register for two different sets of registers while clearing
  48. another.  Multiply and accumulate (multiple by something and
  49. add it back to itself, x = a*x+b) is standard.  And most instructions
  50. execute in 1 or 2 cycles.
  51.  
  52. >o    How this is done (not just.. can emulate modem, make sound, etc..)
  53.  
  54.     Well, you just calculate the samples you need, and output that
  55. to a digital-to-analog convertor.  A lot of people out there make
  56. glueless logic convertors for DSPs.  It doesn't hurt that a lot of
  57. DSPs have their own serial ports, too.  Note that any non-DSP chip can
  58. calculate those samples for you -- it's all a matter of speed and
  59. convenience.
  60.  
  61. >o    Why it is better than using the main processor
  62.  
  63.     It's another processor working if you can use it well.
  64. It's faster for for certain specialized operations like
  65. Fourier transforms and convolutions.  Although, I've seen
  66. a realtime raytracer done with 64 AT&T DSPs.  It's great
  67. for a sound synthesizer, too.
  68.  
  69.     DSPs can't replace main processors because of their
  70. restricted instruction set and naive memory handling (no
  71. MMU).  I think the only notable exception to this is
  72. the Intel i860.  Is it a DSP or is it a micro?  I don't
  73. know, you tell me.
  74.  
  75.     In fact, for a lot of things, fast RISC chips like the
  76. MIPS R3000 or 4000, or HP's PA chipset tend to outperform
  77. cheap DSPs on many traditional DSP tasks.  PA and IBM's
  78. RS/6000 chipset both come with a multiply and accumulate
  79. instruction, can execute multiple instructions simultaneously,
  80. although only the IBM chipset can do really insane stuff, and
  81. have 1-2 cycle instructions.
  82.  
  83. >Or is there a better place such as a newsgroup that I should be reading?
  84.  
  85.     Try comp.dsp.  There's usually a FAQ list with the technical
  86. specs on lots of different chips.  People there also talk about
  87. DSP algorithms, so you can get an idea of what people do with
  88. DSPs.
  89.  
  90. >Thanks 
  91.  
  92.     No problem.
  93.  
  94. --Andre
  95.  
  96. -- 
  97.              Andre Yew andrey@cco.caltech.edu (131.215.139.2)
  98.