PDA

View Full Version : write data in file .dat using assemble


hbarcellos
06-10-2008, 09:23 PM
hello all,

just a question; I have a FIR filter and LMS algorithm to update th
weights... after the algorithm converge I need copy the values of weight
in a file, like a .dat or .txt... I'm going use the files in tests wit
matlab...

Is there some way to do that in assembler (my algorithm is all i
assembler)... ??

I'm using ADSP-21161 EZ-KIT, and Visual DSP 4.5... my vector of weights
is a circular buffer with 600 positions


regards

Henrique L. Barcellos

rajesh
06-11-2008, 04:46 AM
You can write the values into a specific memory location.Then open
memmory in Visual DSP and dump the values from that memory location
into a dat file.

hbarcellos wrote:

> hello all,
>
> just a question; I have a FIR filter and LMS algorithm to update the
> weights... after the algorithm converge I need copy the values of weights
> in a file, like a .dat or .txt... I'm going use the files in tests with
> matlab...
>
> Is there some way to do that in assembler (my algorithm is all in
> assembler)... ??
>
> I'm using ADSP-21161 EZ-KIT, and Visual DSP 4.5... my vector of weights,
> is a circular buffer with 600 positions
>
>
> regards
>
> Henrique L. Barcellos