superposition of a square wave over a sine wave

Discussion in 'VHDL' started by Shiva, Jan 30, 2009.

  1. Shiva

    Shiva Guest

    Hi all,

    I am new to VHDL programming. My task is to generate a high frequency
    square wave(500 Hz) super positioned over a low frequency sine wave(5
    Hz). how can this be achieved in VHDL. I know how to generate both
    these waves separately, but i dunno how to generate them together and
    superposition them. i would be thankful if someone could help me in
    this task. even your valuable ideas will be quite useful for me.

    thanks
     
    Shiva, Jan 30, 2009
    #1
    1. Advertising

  2. Shiva

    jeppe

    Joined:
    Mar 10, 2008
    Messages:
    348
    Location:
    Denmark
    jeppe, Jan 30, 2009
    #2
    1. Advertising

  3. Shiva

    Chris Maryan Guest

    On Jan 30, 3:43 pm, Shiva <> wrote:
    > Hi all,
    >
    > I am new to VHDL programming. My task is to generate a high frequency
    > square wave(500 Hz) super positioned over a low frequency sine wave(5
    > Hz). how can this be achieved in VHDL. I know how to generate both
    > these waves separately, but i dunno how to generate them together and
    > superposition them. i would be thankful if someone could help me in
    > this task. even your valuable ideas will be quite useful for me.
    >
    > thanks


    wave_out <= square + sin;
     
    Chris Maryan, Feb 2, 2009
    #3
    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. Replies:
    1
    Views:
    4,669
    Jim Lewis
    Nov 28, 2005
  2. Xanax
    Replies:
    6
    Views:
    483
    Ashish
    Oct 6, 2003
  3. Phil Newman

    Simple Sine Wave Array

    Phil Newman, Nov 2, 2005, in forum: C++
    Replies:
    11
    Views:
    698
  4. red floyd
    Replies:
    5
    Views:
    1,051
    Nathan Wijnia
    Jun 21, 2007
  5. rara10
    Replies:
    0
    Views:
    947
    rara10
    Jan 30, 2009
Loading...

Share This Page