ΣSigmaStudio Ask AI Русский Log in

ADSP-2101 code porting

Processors & DSP komo Feb 16, 2015 00:00 2 replies Original on forum ↗
Subscribe
komo Question
Feb 16, 2015 00:00

If I have assembly code written for ADSP-2101, is it easier to translate it to SHARC or Blackfin?

processors and dsp

adsp-2101

ADSP-21xx Fixed-Point DSPs

AlClark Reply
Feb 16, 2015 00:00

I originally started with 21xx coding before I learned SHARC. I think you will find that translating from 2101 asm code to SHARC asm will be very easy. All the SHARCs and Blackfins are much more powerful than the 2101. I suspect that any one of them might be able to replace the 2101 in your application. I think 21xx to SHARC assembly will be the easiest route.

I would probably use a ADSP-21477, 78 or 79.

Al Clark

www.danvillesignal.com

JohnTo Reply
Feb 17, 2015 00:00

Hi Brian,

I agree with Al Clark.

The ADSP-2100 family assembly syntax is similar to the SHARC if you treat the ADSP-2100 ALU/MAC/Shifter registers as a general Rx register file when converting to SHARC fixed point register syntax. The Ix/Mx/Lx data address generator memory syntax is very similar as well.

The Blackfin is more "RISC-like" with general purpose pointer setup and access, something not part of the ADSP-2100 and ADSP-21000 instruction sets and it can take more instructions to set up memory accesses.

-JT