Vladimir Vassilevsky <antispam_bogus@hotmail.com> writes:> [...] > However, the old DSP programming didn't look bad at all compared to > PIC or x51 programming.x51 was a luxury compared to x48. -- % Randy Yates % "I met someone who looks alot like you, %% Fuquay-Varina, NC % she does the things you do, %%% 919-577-9882 % but she is an IBM." %%%% <yates@ieee.org> % 'Yours Truly, 2095', *Time*, ELO http://home.earthlink.net/~yatescr
Online · Live + on demand
February 9-11, 2027
Price goes up Jan 1: register now to lock in today's rate
Register Now →
DSP hardware
Started by ●November 16, 2006
Reply by ●November 16, 20062006-11-16
Reply by ●November 16, 20062006-11-16
Dan wrote:> Here is my two cents. > > IMHO, the key features of a DSP (in decreasing importance) are > > 1) Harvard architechure RISC. > 2) Circular Buffer Support > 3) Hardware Multiplier > 4) Support for Zero overhead loops > 5) Hardware MAC > 6) Delayed Branch Jumps > > Because of feature 1, digital signal processors tend to get used alot > by embedded people for non-DSP functions, like IO-routing, or for > functions that require precise timing (it is easy to count cycles with > a Harvard RISC). > > Also, IMHO, alot of the fat that is generated with a DSP on general > purpose code is because the compiler/optimizer isn't as good as > compiler for the general purpose processors. Anymore, I favor the ST > ARM9 processors for DSP (if I don't need floating point). The ARM > optimizers are incredible, and the processor has items 1, 3, and 5 from > my list. > > Finally, IMHO, I'm starting to think that FPGAs are as easy to use as > DSPs. In an FPGA, I can code in HDL, which (in my optinion) is not as > easy to code in as C. However, when I read the DSP compiler manual, it > says that I need to write my code in a certain way, so that the > optimizer can "realize" it into the correct instructions. That's > starting to sound alot like an HDL. Further, I tend go get annoyed > with the C optimizer and just program in assembly language. Which is > easier HDL, or assembly language??In my first Xylinx project, I got 98% CLB and 83% wire utilization. I don't think even today's HDLs are likely to achieve that. Jerry -- Engineering is the art of making what you want from things you can get. �����������������������������������������������������������������������
Reply by ●November 16, 20062006-11-16
Ray Andraka wrote: (snip)> DSP is Digital Signal Processing, which is the manipulation of signals > using numeric methods. Any device that is the host for doing that > numerical manipulation is a "digital signal processor".I never figured out which DSP this newsgroup is supposed to be named after. That is, processor or processing. (snip) -- glen
Reply by ●November 17, 20062006-11-17
Hi Jerry, Jerry Avins <jya@ieee.org> writes:> In my first Xylinx project, I got 98% CLB and 83% wire utilization. I > don't think even today's HDLs are likely to achieve that. >There's no problem reaching that - you just have to spend all your time instantiating very low-level blocks (LUTs and flip-flops) and wiring them up, rather than letting the synthesis tools do it for you. VHDL and Verilog can work at a *very* low level, as well as (an increasingly) high level, with the support of synthesisers. It's a bit like having assembly and C combined together... Cheers, Martin -- martin.j.thompson@trw.com TRW Conekt - Consultancy in Engineering, Knowledge and Technology http://www.conekt.net/electronics.html
Reply by ●November 17, 20062006-11-17
Vladimir Vassilevsky <antispam_bogus@hotmail.com> wrote in news:T%%6h.6380$IR4.6195@newssvr25.news.prodigy.net:> > > Al Clark wrote: > > >> I used to describe DSP processors as kind of idiot savant >> microcontrollers, > > Straight to the point! > > However, the old DSP programming didn't look bad at all compared to > PIC or x51 programming.I have programmed both PICs (asm) and x51 (asm & C. The PIC took me 1/2 day to do my first project including learning all 30 something instructions. I think the ADI assembly is easier than the X51. I'm not sure if it takes longer to learn 21xx coding, the SHARC takes longer just because it does a lot more.> >> I don't think this is so true any longer. Many newer DSPs have a lot >> of the features one would use in a microcontroller application. > > There is still a lot of overhead. The general purpose code on a DSP > has 2-3 times more fat compared to the same code for a > microcontroller. >I agree, but I'm not too sure it's very relevant in most cases. a serial flash chip is about $1.00. The internal memory of the DSPs is much larger. Its true that you can buy a small microcontroller for under a $1.00, which is unlikely with a DSP since the silicon (including the internal RAM is much larger)>> >> For example, the SHARC ADSP-21369 was two UARTs, two SPI ports, an >> I2C interfaces, Clock generators and lots of bit addressable I/O. >> This is all in addition to features that are more DSP oriented (8 >> SPORTs, 8 Sample Rate Converters, S/PDIF, etc) > > No ADC, no flash, no eeprom. The peripherals are definitely done by > the crazy scientists.The ADC that are included in microcontrollers are usually not very good. The process required to make a good ADC is usually not the same as a the DSP. You can buy mixed parts like the ADI sigmaDSP or PIC dspIC. I am certainly not opposed to the idea of adding a little EEProm and Flash. I would go for a few channels of down and dirty ADCs as well but probably not for the signal processing inputs. I would probably use them for things like power supply diagnostics.> > >> It's also true that processors that are thought of as general purpose >> are becoming better at signal processing functions. The various ARM >> processors come to mind. > > Basically, the most needed thing is the fast multiplier. > >> >> FPGAs are good for applications that need very fast, well defined >> signal processing. In many cases it will act as a coprocessor in a >> larger system. Most signal processing systems that we see that use >> FPGAs, will combine an FPGA with a general purpose DSP. > > With FPGA, you can trade the complexity for the speed. With DSP, you > can trade the speed for the complexity. > >> >> I would suggest that a DSP chip is easier to program for DSP >> applications. > > It's almost completely in C/C++ anyway, so it doesn't really matter in > our days.And you worry about bloated code?;-) I still write my DSP code in assembly although we are supporting C since many of our customers prefer C platforms. I don't think that using C is a good reason to avoid learning the assembly language, but I do agree that a switch statement is probably more convenient than a jump table.> > Vladimir Vassilevsky > > DSP and Mixed Signal Design Consultant > > http://www.abvolt.com >-- Al Clark Danville Signal Processing, Inc. -------------------------------------------------------------------- Purveyors of Fine DSP Hardware and other Cool Stuff Available at http://www.danvillesignal.com
Reply by ●November 17, 20062006-11-17
Vladimir Vassilevsky <antispam_bogus@hotmail.com> wrote in news:T%%6h.6380$IR4.6195@newssvr25.news.prodigy.net:>> FPGAs are good for applications that need very fast, well defined >> signal processing. In many cases it will act as a coprocessor in a >> larger system. Most signal processing systems that we see that use >> FPGAs, will combine an FPGA with a general purpose DSP. >> With FPGA, you can trade the complexity for the speed. With DSP, you > can trade the speed for the complexity. >I like this statement, I may steal it -- Al Clark Danville Signal Processing, Inc. -------------------------------------------------------------------- Purveyors of Fine DSP Hardware and other Cool Stuff Available at http://www.danvillesignal.com
Reply by ●November 17, 20062006-11-17
"Al Clark" <dsp@danvillesignal.com> escribi� en el mensaje news:Xns987E5AD01F93Caclarkdanvillesignal@66.133.129.71...> I am certainly not opposed to the idea of adding a little EEProm and > Flash. I would go for a few channels of down and dirty ADCs as well but > probably not for the signal processing inputs. I would probably use them > for things like power supply diagnostics.Al, You (and other readers) might already know that Analog Devices's Blackfin DSPs are now including Flash on their ADSP-BF538F and ADSP-BF539F Cheers, -- Jaime Andres Aranguren C. SanJaaC Electronics Soluciones en DSP www.sanjaac.com -- Posted via a free Usenet account from http://www.teranews.com
Reply by ●November 17, 20062006-11-17
Jaime Andres Aranguren Cardona wrote:>>I am certainly not opposed to the idea of adding a little EEProm and >>Flash. I would go for a few channels of down and dirty ADCs as well but >>probably not for the signal processing inputs. I would probably use them >>for things like power supply diagnostics. >Exactly. Today almost every MCU includes the 10-bit ADC as well as EEPROM.> You (and other readers) might already know that Analog Devices's Blackfin > DSPs are now including Flash on their ADSP-BF538F and ADSP-BF539FThis is way too expensive, since it is actually two different dies in one package. Also the flash is included in those DSPs in a very crooked manner. VLV
Reply by ●November 17, 20062006-11-17
Jerry Avins wrote: (snip)> In my first Xylinx project, I got 98% CLB and 83% wire utilization. I > don't think even today's HDLs are likely to achieve that.My first Xilinx project, though it never got built, had pretty high, though maybe not that high, utilization. It was packed full of 16 bit saturating adders and 16 bit MAX functions. It used a feature of the XC4000 series that is now gone: the carry logic is separate from the LUT logic. For MAX(a,b) the carry logic evaluates a>b, the LUTs select the appropriate input. For saturating adders, the carry out and MSB inputs determine underflow, which then goes back to the LUT to give the sum or zero. Most were adding negative numbers, so I didn't need to do overflow. It was then done with Xilinx RPM (macros), so place and route didn't have so much work to do. But the highest density one was enough slower that my favorite design wasn't so well packed. This is for a systolic array processor implementing a dynamic programming algorithm. In the end, it was done with an ASIC at much higher cost. -- glen







