Go Back   Velocity Reviews > Newsgroups > VHDL
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

VHDL - Digital Down synthetizer

 
Thread Tools Search this Thread
Old 07-07-2005, 04:15 PM   #1
Default Digital Down synthetizer


hello all

i am tring to create a DDS in fpga but i am wondering if a can because:

the precision i need is too big so my look up table it is 20 address bits
and 15 bits wide ?
And in the case i could, how should be my code to make this huge memory
synthesizable now iam using files to simulate but that are not synthe .. ?

thanks in advance




Juan Carlos Allica
  Reply With Quote
Old 07-07-2005, 07:34 PM   #2
john
 
Posts: n/a
Default Re: Digital Down synthetizer

Hello,

What is DDS?

Regards
john
Juan Carlos Allica wrote:
> hello all
>
> i am tring to create a DDS in fpga but i am wondering if a can because:
>
> the precision i need is too big so my look up table it is 20 address bits
> and 15 bits wide ?
> And in the case i could, how should be my code to make this huge memory
> synthesizable now iam using files to simulate but that are not synthe .. ?
>
> thanks in advance




john
  Reply With Quote
Old 07-08-2005, 08:27 AM   #3
Juan Carlos Allica
 
Posts: n/a
Default Re: Digital Down synthetizer
Sorry a DDS is a digital down synthesizer by mean this you can create any
freq sin or cosine wave, it uses the phase in the digital domain and convert
it to analog domain by mean a look up table which I don't know how to create
this mem in a fpga .

Cheers

"Juan Carlos Allica" <> wrote in message
news:dajgto$qfc$...
> hello all
>
> i am tring to create a DDS in fpga but i am wondering if a can because:
>
> the precision i need is too big so my look up table it is 20 address bits
> and 15 bits wide ?
> And in the case i could, how should be my code to make this huge memory
> synthesizable now iam using files to simulate but that are not synthe .. ?
>
> thanks in advance
>





Juan Carlos Allica
  Reply With Quote
Old 07-08-2005, 09:16 AM   #4
Jonathan Bromley
 
Posts: n/a
Default Re: Digital Down synthetizer
On Thu, 7 Jul 2005 17:15:05 +0200, "Juan Carlos Allica"
<> wrote:


>i am tring to create a DDS in fpga but i am wondering if a can because:
>the precision i need is too big so my look up table it is 20 address bits
>and 15 bits wide ?


From your later response I see that you're trying to create a
sinusoid rather than an arbitrary waveform, so you have many
options.

First, if the required precision is only 15 bits, you surely don't
need all 20 bits of address into the table!

Second, you can reduce the size of the table by a factor of 4
easily by dividing the 20-bit phase range into four quadrants.
You need a 2s complement negate operation on both address and
data, but otherwise it's easy.

Finally, you can use something a bit more clever than a
simple lookup table. There are two obvious possibilities:
CORDIC and interpolation.

CORDIC is so well covered by material on Ray Andraka's website
www.andraka.com that I won't even try to describe it here.

Interpolation is a useful idea. You know, of course, that
the first derivative of (sin) is (cos), which is simply (sin)
displaced by a quarter of a cycle. So, given a phase value
P, rewrite P = P0 + dP by the cunning trick of splitting the
address binary word into two equal pieces. Now you can make
the approximation

sin(P) = sin(P0) + cos(P0).dP

cos(P0) is only a second lookup in the table. You need a
multiplier and an adder, of course. And there's some scaling
to be done.

Other possibilities include creating a very approximate sine
wave and then passing it through a digital lowpass filter
whose sample rate is also controlled by the DDS.
--
Jonathan Bromley, Consultant

DOULOS - Developing Design Know-how
VHDL, Verilog, SystemC, Perl, Tcl/Tk, Verification, Project Services

Doulos Ltd. Church Hatch, 22 Market Place, Ringwood, BH24 1AW, UK
Tel: +44 (0)1425 471223 mail:
Fax: +44 (0)1425 471573 Web: http://www.doulos.com

The contents of this message may contain personal views which
are not the views of Doulos Ltd., unless specifically stated.


Jonathan Bromley
  Reply With Quote
Old 07-09-2005, 07:51 PM   #5
james
 
Posts: n/a
Default Re: Digital Down synthetizer
On Fri, 8 Jul 2005 09:27:51 +0200, "Juan Carlos Allica"
<> wrote:

>+<Sorry a DDS is a digital down synthesizer by mean this you can create any
>+<freq sin or cosine wave, it uses the phase in the digital domain and convert
>+<it to analog domain by mean a look up table which I don't know how to create
>+<this mem in a fpga .
>+<
>+<Cheers
>+<

*****

I thought "DDS" stood for Direct Digital Synthesis?

james


>+<"Juan Carlos Allica" <> wrote in message
>+<news:dajgto$qfc$...
>+<> hello all
>+<>
>+<> i am tring to create a DDS in fpga but i am wondering if a can because:
>+<>
>+<> the precision i need is too big so my look up table it is 20 address bits
>+<> and 15 bits wide ?
>+<> And in the case i could, how should be my code to make this huge memory
>+<> synthesizable now iam using files to simulate but that are not synthe .. ?
>+<>
>+<> thanks in advance
>+<>
>+<




james
  Reply With Quote
Old 07-11-2005, 09:56 AM   #6
Juan Carlos Allica
 
Posts: n/a
Default Re: Digital Down synthetizer
u r right sorry.

"james" <> wrote in message
news:...
> On Fri, 8 Jul 2005 09:27:51 +0200, "Juan Carlos Allica"
> <> wrote:
>
>>+<Sorry a DDS is a digital down synthesizer by mean this you can create
>>any
>>+<freq sin or cosine wave, it uses the phase in the digital domain and
>>convert
>>+<it to analog domain by mean a look up table which I don't know how to
>>create
>>+<this mem in a fpga .
>>+<
>>+<Cheers
>>+<

> *****
>
> I thought "DDS" stood for Direct Digital Synthesis?
>
> james
>
>
>>+<"Juan Carlos Allica" <> wrote in message
>>+<news:dajgto$qfc$...
>>+<> hello all
>>+<>
>>+<> i am tring to create a DDS in fpga but i am wondering if a can
>>because:
>>+<>
>>+<> the precision i need is too big so my look up table it is 20 address
>>bits
>>+<> and 15 bits wide ?
>>+<> And in the case i could, how should be my code to make this huge
>>memory
>>+<> synthesizable now iam using files to simulate but that are not synthe
>>.. ?
>>+<>
>>+<> thanks in advance
>>+<>
>>+<

>





Juan Carlos Allica
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Digital Album Master - Make High Resolution Slideshow For TV jerryliang Software 0 07-17-2009 03:16 AM
HD DVD requires Digital Imprimatur to authorise playback. Allan DVD Video 0 07-25-2005 06:38 AM
Analog formats (tape, LaserDisc, vinyl et al.) VS Digital (CD, DVD, regardless...) Mook23 DVD Video 28 04-22-2005 06:12 AM
Criterion Goes Classic With Digital Vision DVNR. Allan DVD Video 2 04-18-2005 07:30 AM
Digital DIGEST - LIVE UPDATE Issue 38 Ablang DVD Video 0 11-09-2003 01:31 AM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46