Results 1 to 5 of 5

Thread: How to sum sine waves up by using IP blocks

  1. #1
    Join Date
    Feb 2018
    Posts
    13
    Rep Power
    1

    Default How to sum sine waves up by using IP blocks

    Hi, My task was to create two different freq. sine waves and sum them up. I defined them as signals but how to sum them by using IP clocks? Can some please help me? You can take a look to my code in attached vhd file. Thx in advance
    Attached Files Attached Files

  2. #2
    Tricky is offline Moderator **Forum Master**
    Join Date
    Oct 2008
    Posts
    6,031
    Rep Power
    1

    Default Re: How to sum sine waves up by using IP blocks

    Im not sure what the problem is - why cant you just have:

    q <= sin1 + sin2

    ?

  3. #3
    Join Date
    Feb 2018
    Posts
    13
    Rep Power
    1

    Default Re: How to sum sine waves up by using IP blocks

    it's giving error. It says "can't determine definition of operator ""+"" -- found 0 possible definitions

  4. #4
    Join Date
    Dec 2007
    Location
    Bochum Germany
    Posts
    6,319
    Rep Power
    1

    Default Re: How to sum sine waves up by using IP blocks

    + isn't defined for std_logic_vector. You have signed sine table, why not using signed variables?

  5. #5
    Join Date
    Feb 2018
    Posts
    13
    Rep Power
    1

    Default Re: How to sum sine waves up by using IP blocks

    Thank you very very much. I appreciate, it's done.

Similar Threads

  1. Creating square waves of varying frequencies
    By gSide in forum Verilog and System Verilog
    Replies: 2
    Last Post: November 17th, 2017, 10:06 AM
  2. Generating higher frequency sine waves from 5MHz RAM
    By RhapsodynMotion in forum Verilog and System Verilog
    Replies: 3
    Last Post: October 28th, 2015, 07:54 AM
  3. How to create sine and cos waves of different frequencies using Cyclone III(VHDL)
    By mchi2ph2 in forum FPGA, Hardcopy, and CPLD Discussion
    Replies: 9
    Last Post: September 9th, 2015, 05:30 AM
  4. usage advanced blocks FFT blocks in project Standart blockset
    By bismark09 in forum DSP Builder and DSP IPs
    Replies: 3
    Last Post: April 21st, 2015, 02:11 AM
  5. NCO:Sine Waveform
    By jasonkee111 in forum DSP Builder and DSP IPs
    Replies: 15
    Last Post: November 15th, 2009, 05:15 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •