Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
771 Views

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

0 Kudos
4 Replies
Altera_Forum
Honored Contributor I
20 Views

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

 

q <= sin1 + sin2 

 

?
Altera_Forum
Honored Contributor I
20 Views

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

Altera_Forum
Honored Contributor I
20 Views

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

Altera_Forum
Honored Contributor I
20 Views

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

Reply