Forum Discussion
Altera_Forum
Honored Contributor
16 years agoC to HW
I have been doing for months the c2h tutorial and results haven't been successful. Sooo...If I want to do the same thing as the tutorial (c2h) with a program I created what should I do? ...
Altera_Forum
Honored Contributor
16 years ago --- Quote Start --- Then you should read the tutorial again, and again until you understand it. I needed to read some of the Altera docs four times before I could understand them. --- Quote End --- Hi! I need to generate a sine wave from the Nios II core to compare it with a VHDL code of a triangular wave to produce a PWM. I had produced a VHDL code for a sine wave using a look up table.Do I just need to write a simple C code with a sine function? How can this C code be used to be compared and communicate with my triangular wave VHDL code?