- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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? HELP! :eek:Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Could you be more specific and tell me which Altera docs helped you?
Because for me the tutorial skips steps which are needed to get the right results, or assumes the user knows when we don't know.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- 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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can still use a lookup table for this. C2H accelerators can access memory just like a processor does. If you stuff the results into a FIFO and clock the data out of it at a regular rate then you should get a nice set of sine samples from it.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page