FPGA Central - World's 1st FPGA / CPLD Portal

FPGA Central

World's 1st FPGA Portal

 

Go Back   FPGA Groups > NewsGroup > DSP

DSP comp.dsp newsgroup, mailing list

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-01-2004, 03:02 PM
Paweł Chrobak
Guest
 
Posts: n/a
Default ADSP-2181 and problem with DAG1

Hi,
I have a little problem addressing data.Take a look on this part of code:


SCRAMBLER:
/***** FIRST PART *******/
i4 = Input_Real;
i0 = FFT_IO_Real;
m4 = 1;
m0 = Mod_Value; // Mod_Value = 2 ^ 14-log2 (N)
l4 = 0;
l0 = 0;

CNTR = N;
ENA BIT_REV;
DO SR_Loop UNTIL CE;
ay1 = DM(i4,m4); // Reversing Real part
SR_Loop: DM(i0,m0) = ay1;
DIS BIT_REV;

/***** SECOND PART *******/
i4 = Input_Image;
i0 = FFT_IO_Image;
m4 = 1;
m0 = Mod_Value;
l4 = 0;
l0 = 0;

CNTR = N;
ENA BIT_REV;
DO SI_Loop UNTIL CE;
ay1 = DM(i4,m4); //Reersing image part
SI_Loop: DM(i0,m0) = ay1;
DIS BIT_REV;
rts;

It's the scramble function before executing FFT ,

The problem is: the data it's correcty moving from "Input_Real" table
into "FFT_OI_Real" table. ( the first part ) but at the second part, when
the data from
"Input_Image" should be transferred into "FFT_IO_Image" the data is
transferred into
"Input_Real" WHY ??
The tables are declarated as:

..SECTION/DM sound_data;

..VAR/CIRC Input_Real[N];
..VAR/CIRC Input_Image[N];

..VAR/CIRC FFT_IO_Real[N];
..VAR/CIRC FFT_IO_Image[N];

where N=64;

What is wrong ??

If someones could be so kindly and find a minute for me, I can send a full
code via email
( it's really short , and its for Visual DSP , and for 2181 simulation) It
will be very helpfull for me.


Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
The ADSP-2181 EZ-Kit Lite Jack L. DSP 5 09-26-2004 11:57 PM
ADSP-2181 reading 16 bit Data lines from EZ kit lite Girish DSP 1 09-10-2004 03:09 PM
ADSP 2181 Simulator Larry Allen DSP 1 10-21-2003 05:14 AM
search the software for ADSP-2181 Braet Stijn DSP 1 09-03-2003 03:09 AM
Re: Help!! Sound Stretcher using Granular Synthesis on ADSP-2181 EZ KitLite Jerry Avins DSP 0 06-26-2003 09:19 PM


All times are GMT +1. The time now is 07:51 AM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright 2008 @ FPGA Central. All rights reserved