Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
All support for Intel NUC 7 - 13 systems has transitioned to ASUS. Read latest update.
16488 Discussions

How to sum sine waves up by using IP blocks

Altera_Forum
Honored Contributor II
980 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
229 Views

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

 

q <= sin1 + sin2 

 

?
0 Kudos
Altera_Forum
Honored Contributor II
229 Views

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

0 Kudos
Altera_Forum
Honored Contributor II
229 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
229 Views

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

0 Kudos
Reply