Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17268 Discussions

How to sum sine waves up by using IP blocks

Altera_Forum
Honored Contributor II
1,504 Views

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

0 Kudos
4 Replies
Altera_Forum
Honored Contributor II
753 Views

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

 

q <= sin1 + sin2 

 

?
0 Kudos
Altera_Forum
Honored Contributor II
753 Views

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

0 Kudos
Altera_Forum
Honored Contributor II
753 Views

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

0 Kudos
Altera_Forum
Honored Contributor II
753 Views

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

0 Kudos
Reply