FIR Filter

Discussion in 'VHDL' started by Hari, Jan 27, 2004.

  1. Hari

    Hari Guest

    Hi,
    I need to design an FIR filter in transposed form with the
    following coefficents.

    H2 =

    Columns 1 through 6

    0.9808 + 0.1951i 0.7071 + 0.7071i -0.1951 + 0.9808i -1.0000
    0.1951 - 0.9808i 0.7071 + 0.7071i

    Columns 7 through 12

    -0.9808 - 0.1951i 1.0000 -0.9808 - 0.1951i 0.7071 +
    0.7071i 0.1951 - 0.9808i -1.0000

    Columns 13 through 18

    -0.1951 + 0.9808i 0.7071 + 0.7071i 0.9808 + 0.1951i 1.0000
    0.9808 + 0.1951i 0.7071 + 0.7071i

    Columns 19 through 24

    -0.1951 + 0.9808i -1.0000 0.1951 - 0.9808i 0.7071 +
    0.7071i -0.9808 - 0.1951i 1.0000

    Columns 25 through 30

    -0.9808 - 0.1951i 0.7071 + 0.7071i 0.1951 - 0.9808i -1.0000
    -0.1951 + 0.9808i 0.7071 + 0.7071i

    Column 31

    0.9808 + 0.1951i

    How do I get started with it ?

    Hari
     
    Hari, Jan 27, 2004
    #1
    1. Advertising

  2. Hari <> wrote:
    > Hi,
    > I need to design an FIR filter in transposed form with the
    > following coefficents.
    >
    > H2 =
    >
    > Columns 1 through 6
    >
    > 0.9808 + 0.1951i 0.7071 + 0.7071i -0.1951 + 0.9808i -1.0000
    > 0.1951 - 0.9808i 0.7071 + 0.7071i
    >
    > Columns 7 through 12
    >
    > -0.9808 - 0.1951i 1.0000 -0.9808 - 0.1951i 0.7071 +
    > 0.7071i 0.1951 - 0.9808i -1.0000
    >
    > Columns 13 through 18
    >
    > -0.1951 + 0.9808i 0.7071 + 0.7071i 0.9808 + 0.1951i 1.0000
    > 0.9808 + 0.1951i 0.7071 + 0.7071i
    >
    > Columns 19 through 24
    >
    > -0.1951 + 0.9808i -1.0000 0.1951 - 0.9808i 0.7071 +
    > 0.7071i -0.9808 - 0.1951i 1.0000
    >
    > Columns 25 through 30
    >
    > -0.9808 - 0.1951i 0.7071 + 0.7071i 0.1951 - 0.9808i -1.0000
    > -0.1951 + 0.9808i 0.7071 + 0.7071i
    >
    > Column 31
    >
    > 0.9808 + 0.1951i
    >
    > How do I get started with it ?
    >
    > Hari


    Well, firstly I'd get a good book on signal processing and then read the
    relevent chapters.
    A good text is:
    Ambardar, A. "Analog and Digital Signal Processing",
    2nd Ed., Brooks/Cole Pub. 1999
    It was the text book I used and it is the best I've seen so far IMHO.

    --
    Wing Wong.
    Webpage: http://wing.ucc.asn.au
     
    Wing Fong Wong, Jan 27, 2004
    #2
    1. Advertising

  3. Hello,

    for this task you can find a lot of existing code on the web.
    For example:

    http://www.opencores.org/projects/lowpowerfir/
    http://www.opencores.org/projects/cf_fir/
    http://www.doulos.com/knowhow/vhdl_models/finite_impulse_response_fir_filter
    /
    http://www.item.uni-bremen.de/research/papers/paper.pdf/Helge.Bochnik/nato93
    /boc9301.pdf

    Search google for vhdl fir filter. You'll find many useful links.

    I hope you know the theory of the fir filter. otherwise in my last link,
    there's an explanation included. Don't be afraid, it's not that difficult.

    BTW, I think you have to take just the real numbers in your coefficients.
    As I see you did your filter design with matlab. Use the filter design
    toolbox, there you can design any filter and it gives you the coefficients.

    Simone

    ICQ: 20212150
    "Hari" <> schrieb im Newsbeitrag
    news:...
    : Hi,
    : I need to design an FIR filter in transposed form with the
    : following coefficents.
    :
    : H2 =
    :
    : Columns 1 through 6
    :
    : 0.9808 + 0.1951i 0.7071 + 0.7071i -0.1951 + 0.9808i -1.0000
    : 0.1951 - 0.9808i 0.7071 + 0.7071i
    :
    : Columns 7 through 12
    :
    : -0.9808 - 0.1951i 1.0000 -0.9808 - 0.1951i 0.7071 +
    : 0.7071i 0.1951 - 0.9808i -1.0000
    :
    : Columns 13 through 18
    :
    : -0.1951 + 0.9808i 0.7071 + 0.7071i 0.9808 + 0.1951i 1.0000
    : 0.9808 + 0.1951i 0.7071 + 0.7071i
    :
    : Columns 19 through 24
    :
    : -0.1951 + 0.9808i -1.0000 0.1951 - 0.9808i 0.7071 +
    : 0.7071i -0.9808 - 0.1951i 1.0000
    :
    : Columns 25 through 30
    :
    : -0.9808 - 0.1951i 0.7071 + 0.7071i 0.1951 - 0.9808i -1.0000
    : -0.1951 + 0.9808i 0.7071 + 0.7071i
    :
    : Column 31
    :
    : 0.9808 + 0.1951i
    :
    : How do I get started with it ?
    :
    : Hari
     
    Simone Winkler, Jan 27, 2004
    #3
  4. Hari

    Hari Guest

    Hi,
    Thanx for the response. I have a code that is suppose to accomplish
    the required but I have no clue y it is not working( I get wrong
    answers). I have gone thru the code.Overall the code is suppose is
    suppose to be a Fourier transform.and consists of multiplier , ROM and
    FIR filter. I want a second opinion on this,can someone run the code
    and tell me what could be worng , could it be timing? I have been
    trying for quite sometime but have no clue y it's giving me worng
    answer.

    Thanks
    Hari
     
    Hari, Jan 30, 2004
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Yttrium

    FIR filter design + COE file

    Yttrium, Feb 9, 2004, in forum: VHDL
    Replies:
    1
    Views:
    2,934
  2. dhaanya nair
    Replies:
    0
    Views:
    3,861
    dhaanya nair
    Feb 26, 2004
  3. Wiener, Norbert
    Replies:
    4
    Views:
    584
    Jerry Avins
    Nov 18, 2004
  4. mindenpilot

    Re: fir decimation filter in VHDL

    mindenpilot, Nov 19, 2005, in forum: VHDL
    Replies:
    1
    Views:
    2,370
    saras
    Nov 21, 2005
  5. Maarten
    Replies:
    5
    Views:
    3,319
Loading...

Share This Page