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. Advertisements

  2. Shiva

    jeppe

    Joined:
    Mar 10, 2008
    Messages:
    348
    Likes Received:
    0
    Location:
    Denmark
    jeppe, Jan 30, 2009
    #2
    1. Advertisements

  3. Shiva

    Chris Maryan Guest

    wave_out <= square + sin;
     
    Chris Maryan, Feb 2, 2009
    #3
    1. Advertisements

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.