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

Reply

VHDL - regarding filters in vhdl

 
Thread Tools Search this Thread
Old 05-17-2004, 09:27 PM   #1
Default regarding filters in vhdl


Hi,
I have to design a low pass filter in VHDL. How can one go about
designing such a filter when the medium is event driven and time
domain based??
How should one decide on the filter characteristics if we just know
the symbol time rate.
If I am using standard VHDL and not AMS is it possible for me to
design such a filter which is used in the recovery loops of receiver?
Most of the references on filter and digital communications refer to
frequency domain analysis. How can I go around this problem?
If the input is a pulse then a low pass filter is an integrate and
dump. However if I have a sampled sine wave how could I design a low
pass filter? Could you please reply and let me know?
I would grealty appreciate your reply.
Looking forward to your replies,
Thanks
Viswanath
PS: I would be needing a filter after the mixing of two sine waves to
filter out the higher frequency components.


viswanath
  Reply With Quote
Old 05-18-2004, 01:34 AM   #2
fabbl
 
Posts: n/a
Default Re: regarding filters in vhdl
Your kidding, right?
Think shift register..
Thing sample rate..
Think FIR..
Think

"viswanath" <> wrote in message
news: m...
> Hi,
> I have to design a low pass filter in VHDL. How can one go about
> designing such a filter when the medium is event driven and time
> domain based??
> How should one decide on the filter characteristics if we just know
> the symbol time rate.
> If I am using standard VHDL and not AMS is it possible for me to
> design such a filter which is used in the recovery loops of receiver?
> Most of the references on filter and digital communications refer to
> frequency domain analysis. How can I go around this problem?
> If the input is a pulse then a low pass filter is an integrate and
> dump. However if I have a sampled sine wave how could I design a low
> pass filter? Could you please reply and let me know?
> I would grealty appreciate your reply.
> Looking forward to your replies,
> Thanks
> Viswanath
> PS: I would be needing a filter after the mixing of two sine waves to
> filter out the higher frequency components.





fabbl
  Reply With Quote
Old 05-18-2004, 03:17 PM   #3
Don Golding
 
Posts: n/a
Default Re: regarding filters in vhdl
You could use a moving average to implement a low pass filter...

Create a circular buffer and place the input data "on the fly" into the
register pointed to by a resetable counter.
The more registers in the circular buffer, the lower the filter frequency
with the effect of more smoothing of the
data.

I would make a little RAM internally for the circular buffer...

Don Golding

"fabbl" <> wrote in message
news:YRcqc.2300$. ..
> Your kidding, right?
> Think shift register..
> Thing sample rate..
> Think FIR..
> Think
>
> "viswanath" <> wrote in message
> news: m...
> > Hi,
> > I have to design a low pass filter in VHDL. How can one go about
> > designing such a filter when the medium is event driven and time
> > domain based??
> > How should one decide on the filter characteristics if we just know
> > the symbol time rate.
> > If I am using standard VHDL and not AMS is it possible for me to
> > design such a filter which is used in the recovery loops of receiver?
> > Most of the references on filter and digital communications refer to
> > frequency domain analysis. How can I go around this problem?
> > If the input is a pulse then a low pass filter is an integrate and
> > dump. However if I have a sampled sine wave how could I design a low
> > pass filter? Could you please reply and let me know?
> > I would grealty appreciate your reply.
> > Looking forward to your replies,
> > Thanks
> > Viswanath
> > PS: I would be needing a filter after the mixing of two sine waves to
> > filter out the higher frequency components.

>
>





Don Golding
  Reply With Quote
Old 05-18-2004, 03:18 PM   #4
Ralf Hildebrandt
 
Posts: n/a
Default Re: regarding filters in vhdl
viswanath wrote:


> I have to design a low pass filter in VHDL. How can one go about
> designing such a filter when the medium is event driven and time
> domain based??


Remember, that Fourier Transform is closely related to Laplace Transform
and Z Transform.

For conversion from s-space (Laplace) to z-space (sampled data) use
bilinear transform.

In z-space filter coefficients are the same as the coefficients of
polynomials. Therefore just pick a polynomial, that provides your
desired frequence response (Butterworth, Chebychev...) and compute the
polynomial coefficients.
Maybe "Passive & Active Filters: Theory & Implementations" by Wai-Kai
Chen ( http://www.mathematicsbooks.org/047182352X.html ) or any other
book about digital filter design may be helpful.



Ralf



Ralf Hildebrandt
  Reply With Quote
Old 05-19-2004, 08:46 AM   #5
Mike
 
Posts: n/a
Default Re: regarding filters in vhdl
Hello,

For generation of digital filters, you can use ONEoverT with it's VHDL
module. It will produce easily readable,
well commented RTL vhdl which you can then keep and add to your VHDL
library.
www.tyder.com

Best Regards
Michael
"viswanath" <> wrote in message
news: m...
> Hi,
> I have to design a low pass filter in VHDL. How can one go about
> designing such a filter when the medium is event driven and time
> domain based??
> How should one decide on the filter characteristics if we just know
> the symbol time rate.
> If I am using standard VHDL and not AMS is it possible for me to
> design such a filter which is used in the recovery loops of receiver?
> Most of the references on filter and digital communications refer to
> frequency domain analysis. How can I go around this problem?
> If the input is a pulse then a low pass filter is an integrate and
> dump. However if I have a sampled sine wave how could I design a low
> pass filter? Could you please reply and let me know?
> I would grealty appreciate your reply.
> Looking forward to your replies,
> Thanks
> Viswanath
> PS: I would be needing a filter after the mixing of two sine waves to
> filter out the higher frequency components.





Mike
  Reply With Quote
Old 05-26-2004, 01:55 AM   #6
Ray Andraka
 
Posts: n/a
Default Re: regarding filters in vhdl
Whoa, back up! You should not be using VHDL to design the filter; it
should be used to implement the filter you have designed using more
appropriate tools. There are many filter design applications (matlab has
one, there is also low cost FIR filter package called ScopeFIR available
through DSP_guru.com). Use that to determine an appropriate filter
structure and coefficients, then use the VHDL or a generator such as the
xilinx core generator to generate the filter logic to implement that
filter. It sounds like you need to gather a bit more background in DSP
before delving into the nuts and bolts of the design.

Others have mentioned a moving average for low pass filtering. Such a
filter is not a very good low pass filter, it's frequency response is
sin(x)/x. It is fine for crude low pass, or as a pre-filter in a
multi-rate filter chain, but not very good as the only filter.

viswanath wrote:

> Hi,
> I have to design a low pass filter in VHDL. How can one go about
> designing such a filter when the medium is event driven and time
> domain based??
> How should one decide on the filter characteristics if we just know
> the symbol time rate.
> If I am using standard VHDL and not AMS is it possible for me to
> design such a filter which is used in the recovery loops of receiver?
> Most of the references on filter and digital communications refer to
> frequency domain analysis. How can I go around this problem?
> If the input is a pulse then a low pass filter is an integrate and
> dump. However if I have a sampled sine wave how could I design a low
> pass filter? Could you please reply and let me know?
> I would grealty appreciate your reply.
> Looking forward to your replies,
> Thanks
> Viswanath
> PS: I would be needing a filter after the mixing of two sine waves to
> filter out the higher frequency components.


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

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




Ray Andraka
  Reply With Quote
Old 11-18-2009, 11:34 AM   #7
kjaraline
Junior Member
 
Join Date: Nov 2009
Posts: 2
Default How to write a vhdl code for band pass filter
Hi,

I wanna design band pass filter in Vhdl.

Can you please tell me how to do it.

-Jaraline Kirubavathy

Quote:
Originally Posted by Don Golding
You could use a moving average to implement a low pass filter...

Create a circular buffer and place the input data "on the fly" into the
register pointed to by a resetable counter.
The more registers in the circular buffer, the lower the filter frequency
with the effect of more smoothing of the
data.

I would make a little RAM internally for the circular buffer...

Don Golding

"fabbl" <> wrote in message
news:YRcqc.2300$. ..
> Your kidding, right?
> Think shift register..
> Thing sample rate..
> Think FIR..
> Think
>
> "viswanath" <> wrote in message
> news: m...
> > Hi,
> > I have to design a low pass filter in VHDL. How can one go about
> > designing such a filter when the medium is event driven and time
> > domain based??
> > How should one decide on the filter characteristics if we just know
> > the symbol time rate.
> > If I am using standard VHDL and not AMS is it possible for me to
> > design such a filter which is used in the recovery loops of receiver?
> > Most of the references on filter and digital communications refer to
> > frequency domain analysis. How can I go around this problem?
> > If the input is a pulse then a low pass filter is an integrate and
> > dump. However if I have a sampled sine wave how could I design a low
> > pass filter? Could you please reply and let me know?
> > I would grealty appreciate your reply.
> > Looking forward to your replies,
> > Thanks
> > Viswanath
> > PS: I would be needing a filter after the mixing of two sine waves to
> > filter out the higher frequency components.

>
>


kjaraline
kjaraline is offline   Reply With Quote
Old 11-18-2009, 11:36 AM   #8
kjaraline
Junior Member
 
Join Date: Nov 2009
Posts: 2
Default
Hi ,

can anyone help to design an bandpass in vhdl


kjaraline
kjaraline is offline   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
How to execute an external software from VHDL? And how to interface VHDL with JAVA? becool_nikks Software 0 03-06-2009 07:08 PM
Vending machine using VHDL arie General Help Related Topics 0 03-05-2009 05:45 AM
Help on auto conversion from Matlab to vhdl on filter design hardheart Hardware 0 12-07-2007 09:19 AM
ARRAY(n DOWNTO 0) OF STD_LOGIC_VECTOR(m DOWNTO 0) - VHDL freitass Hardware 0 11-01-2007 03:44 PM
vhdl code amirster Hardware 0 05-10-2007 07:28 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