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

FPGA Central

World's 1st FPGA Portal

 

Go Back   FPGA Groups > NewsGroup > FPGA

FPGA comp.arch.fpga newsgroup (usenet)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-16-2004, 05:20 PM
Martin Euredjian
Guest
 
Posts: n/a
Default Polyphase filter

Working on a polyphase decimator and interpolator. I'm trying to use the
same chunk-o-logic to implement both functions. In either case, it is
easiest to drive the control logic from the fastest of the two clocks. I'm
trying to figure out the most elegant way to achieve this. Any thoughts,
ideas, links?

Thanks,

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Martin Euredjian

To send private email:
[email protected]
where
"0_0_0_0_" = "martineu"


Reply With Quote
  #2 (permalink)  
Old 02-28-2004, 10:11 AM
William Wallace
Guest
 
Posts: n/a
Default Re: Polyphase filter

"Martin Euredjian" <[email protected]> wrote in message news:<S46Yb.24448$[email protected] com>...
> Working on a polyphase decimator and interpolator. I'm trying to use the
> same chunk-o-logic to implement both functions. In either case, it is
> easiest to drive the control logic from the fastest of the two clocks. I'm
> trying to figure out the most elegant way to achieve this. Any thoughts,
> ideas, links?
>
> Thanks,


If you can work this out, it would be the easiest:

Say you have a set of frequencies you want to handle:

{f1, f2, f3, f4...fn}

Clock your control logic at a frequency that can generate all of these
other frequencies. E.g., for {2,3,5,6 whateverHz}, select your
control clock to be 30 whateverHz. To clock data in or out of the
decimator/interpolators, use clock enables that are synchronous to the
data and the control clock but have a duration of 1 control clock.

Slightly off topic, but if you're doing this fixed point, you might
have to adjust gains depending on input and output rate for consistent
scaling.
Reply With Quote
  #3 (permalink)  
Old 02-28-2004, 11:36 AM
Kelvin @ SG
Guest
 
Posts: n/a
Default Re: Polyphase filter

if you intend to implement the filter in an FPGA, it will be a pain to have
so many derived clocks.
if you do partial reconfiguration, the probability of P&R trouble can be
very high...

just my 2c...

Kelvin



"William Wallace" <[email protected]> wrote in message
news:[email protected] om...
> "Martin Euredjian" <[email protected]> wrote in message

news:<S46Yb.24448$[email protected] com>...
> > Working on a polyphase decimator and interpolator. I'm trying to use

the
> > same chunk-o-logic to implement both functions. In either case, it is
> > easiest to drive the control logic from the fastest of the two clocks.

I'm
> > trying to figure out the most elegant way to achieve this. Any

thoughts,
> > ideas, links?
> >
> > Thanks,

>
> If you can work this out, it would be the easiest:
>
> Say you have a set of frequencies you want to handle:
>
> {f1, f2, f3, f4...fn}
>
> Clock your control logic at a frequency that can generate all of these
> other frequencies. E.g., for {2,3,5,6 whateverHz}, select your
> control clock to be 30 whateverHz. To clock data in or out of the
> decimator/interpolators, use clock enables that are synchronous to the
> data and the control clock but have a duration of 1 control clock.
>
> Slightly off topic, but if you're doing this fixed point, you might
> have to adjust gains depending on input and output rate for consistent
> scaling.



Reply With Quote
  #4 (permalink)  
Old 02-28-2004, 11:20 PM
Ray Andraka
Guest
 
Posts: n/a
Default Re: Polyphase filter

Clock enables are your friend. The processing of the samples does not have to
be spaced equally in time. All that matters is that the samples are spaced
equally when converting to/from analog. For example, if the sampling is at
15/16 of the filter's clock, you can disable the filter for one clock in 16.
It makes the filtering much easier with multiple sample rates if the whole
filter ban is running off a single clock. With bit serial filters, you get
even more flexibility.

"Kelvin @ SG" wrote:

> if you intend to implement the filter in an FPGA, it will be a pain to have
> so many derived clocks.
> if you do partial reconfiguration, the probability of P&R trouble can be
> very high...
>
> just my 2c...
>
> Kelvin
>
> "William Wallace" <[email protected]> wrote in message
> news:[email protected] om...
> > "Martin Euredjian" <[email protected]> wrote in message

> news:<S46Yb.24448$[email protected] com>...
> > > Working on a polyphase decimator and interpolator. I'm trying to use

> the
> > > same chunk-o-logic to implement both functions. In either case, it is
> > > easiest to drive the control logic from the fastest of the two clocks.

> I'm
> > > trying to figure out the most elegant way to achieve this. Any

> thoughts,
> > > ideas, links?
> > >
> > > Thanks,

> >
> > If you can work this out, it would be the easiest:
> >
> > Say you have a set of frequencies you want to handle:
> >
> > {f1, f2, f3, f4...fn}
> >
> > Clock your control logic at a frequency that can generate all of these
> > other frequencies. E.g., for {2,3,5,6 whateverHz}, select your
> > control clock to be 30 whateverHz. To clock data in or out of the
> > decimator/interpolators, use clock enables that are synchronous to the
> > data and the control clock but have a duration of 1 control clock.
> >
> > Slightly off topic, but if you're doing this fixed point, you might
> > have to adjust gains depending on input and output rate for consistent
> > scaling.


--
--Ray Andraka, P.E.
President, the Andraka Consulting Group, Inc.
401/884-7930 Fax 401/884-7950
email [email protected]
http://www.andraka.com

"They that give up essential liberty to obtain a little
temporary safety deserve neither liberty nor safety."
-Benjamin Franklin, 1759


Reply With Quote
  #5 (permalink)  
Old 02-29-2004, 08:12 AM
William Wallace
Guest
 
Posts: n/a
Default Re: Polyphase filter

He didn't say how many frequencies he was going to use, or what kind
of FPGA, or how many bits in the samples. But even if he had 20
different frequencies, you could do all in a single FPGA and use a
provisioned register to select the input and output chip enable rates,
as well as the frequency dedendant filter gains (if any).

"Kelvin @ SG" <[email protected]> wrote in message news:<c1ppdl$d3v$[email protected]>...
> if you intend to implement the filter in an FPGA, it will be a pain to have
> so many derived clocks.
> if you do partial reconfiguration, the probability of P&R trouble can be
> very high...
>
> just my 2c...
>
> Kelvin
>
>
>
> "William Wallace" <[email protected]> wrote in message
> news:[email protected] om...
> > "Martin Euredjian" <[email protected]> wrote in message

> news:<S46Yb.24448$[email protected] com>...
> > > Working on a polyphase decimator and interpolator. I'm trying to use

> the
> > > same chunk-o-logic to implement both functions. In either case, it is
> > > easiest to drive the control logic from the fastest of the two clocks.

> I'm
> > > trying to figure out the most elegant way to achieve this. Any

> thoughts,
> > > ideas, links?
> > >
> > > Thanks,

> >
> > If you can work this out, it would be the easiest:
> >
> > Say you have a set of frequencies you want to handle:
> >
> > {f1, f2, f3, f4...fn}
> >
> > Clock your control logic at a frequency that can generate all of these
> > other frequencies. E.g., for {2,3,5,6 whateverHz}, select your
> > control clock to be 30 whateverHz. To clock data in or out of the
> > decimator/interpolators, use clock enables that are synchronous to the
> > data and the control clock but have a duration of 1 control clock.
> >
> > Slightly off topic, but if you're doing this fixed point, you might
> > have to adjust gains depending on input and output rate for consistent
> > scaling.

Reply With Quote
  #6 (permalink)  
Old 02-29-2004, 01:19 PM
Martin Euredjian
Guest
 
Posts: n/a
Default Re: Polyphase filter

William Wallace wrote:

> He didn't say how many frequencies he was going to use, or what kind
> of FPGA, or how many bits in the samples.


A few frequencies. Not enough data yet.
Samples can be up to 16 bits wide x 3 (RGB image processing).
Virtex 2V1000.

Had to put the project on the shelf for a few days. I'm very tempted to run
the whole thing at the highest possible frequency (in the context of what
needs to be done, not the highest attainable by the FPGA) and use clock
enables. It would seem to me that this is the easiest way to stay out of
trouble. I like that.


--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Martin Euredjian

To send private email:
[email protected]
where
"0_0_0_0_" = "martineu"


Reply With Quote
  #7 (permalink)  
Old 03-06-2004, 06:55 AM
William Wallace
Guest
 
Posts: n/a
Default Re: Polyphase filter

Well, if it makes economic sense to hire a consultant, let me know,
the firm I work at can help.

"Martin Euredjian" <[email protected]> wrote in message news:<oNk0c.18489$[email protected] .com>...
> William Wallace wrote:
>
> > He didn't say how many frequencies he was going to use, or what kind
> > of FPGA, or how many bits in the samples.

>
> A few frequencies. Not enough data yet.
> Samples can be up to 16 bits wide x 3 (RGB image processing).
> Virtex 2V1000.
>
> Had to put the project on the shelf for a few days. I'm very tempted to run
> the whole thing at the highest possible frequency (in the context of what
> needs to be done, not the highest attainable by the FPGA) and use clock
> enables. It would seem to me that this is the easiest way to stay out of
> trouble. I like that.

Reply With Quote
  #8 (permalink)  
Old 03-07-2004, 08:46 PM
Martin Euredjian
Guest
 
Posts: n/a
Default Re: Polyphase filter

I'll definetly keep that in mind. We have a lot coming up over the next few
months. Please provide me with additional info privately.

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Martin Euredjian

To send private email:
[email protected]
where
"0_0_0_0_" = "martineu"


"William Wallace" <[email protected]> wrote in message
news:[email protected] om...
> Well, if it makes economic sense to hire a consultant, let me know,
> the firm I work at can help.
>
> "Martin Euredjian" <[email protected]> wrote in message

news:<oNk0c.18489$[email protected] .com>...
> > William Wallace wrote:
> >
> > > He didn't say how many frequencies he was going to use, or what kind
> > > of FPGA, or how many bits in the samples.

> >
> > A few frequencies. Not enough data yet.
> > Samples can be up to 16 bits wide x 3 (RGB image processing).
> > Virtex 2V1000.
> >
> > Had to put the project on the shelf for a few days. I'm very tempted to

run
> > the whole thing at the highest possible frequency (in the context of

what
> > needs to be done, not the highest attainable by the FPGA) and use clock
> > enables. It would seem to me that this is the easiest way to stay out

of
> > trouble. I like that.



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
Mean value filter [email protected] Verilog 15 12-22-2005 12:09 PM
PolyPhase Fir filter? priya Verilog 2 06-07-2005 01:58 AM
Re: DA FIR filter vs. MAC FIR filter Sasa Bremec FPGA 0 08-27-2003 09:48 AM


All times are GMT +1. The time now is 01:20 AM.


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