Tell me more ×
Electrical Engineering Stack Exchange is a question and answer site for electronics and electrical engineering professionals, students, and enthusiasts. It's 100% free, no registration required.

When I was trying to learn computer architecture the thing that helped me the most was making a toy 4-bit processor (through gate level design of every single thing). Now I want to learn about DSP processors and was wondering if there is a book which takes this approach to teaching DSP architectures.

share|improve this question

1 Answer

The features that (used to?) distinguish a DSP from a more general-purpose CPU more-or-less centre around effective execution of a tight loop of MAC (multiply-acumulate) instructions, iterating over two arrays. This implies

  • a MAC instruction (with saturating behaviour)
  • access to two operands per MAC instruction (often realised by two memories)
  • low inner-loop overhead (for instance hardware counter/begin/end registers)
  • fast adjusting of the (two) data pointers
  • when a cache is present: fine tuned control over the cache behaviour, including prefectching of data

In your situation I would dig up a few typical DSP algorithms (convolution, filters, FFT), find the inner loop, dream up the instructions required to do that loop as fast as possible, implement those instructions, and then add other instructions to make it look like a real CPU. For extra bonus points: minimize transistor count in order to minimize battery drain.

share|improve this answer
For the FFT you'll also need a bit reversal instruction – stevenvh Mar 26 '12 at 18:10
A bit-reversal function would be so easy to implement in hardware, I wonder why it wasn't included in more of the early processors. – JustJeff Mar 26 '12 at 22:40

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.