Jump to content


Question about MegaFunction


  • You cannot reply to this topic
1 reply to this topic

#1 iamauto1

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 04 June 2005 - 05:49 AM

If I code in the environment of Impulse C?
How do I use Altera's MegaFunction in Impulse C?

#2 RalphBodenner

    Advanced Member

  • Admin
  • PipPipPip
  • 348 posts

Posted 05 June 2005 - 03:29 PM

You can use SOPC Builder to integrate MegaFunction components with a system that includes logic generated from Impulse C. The example projects shipping with CoDeveloper demonstrate how to do this.

If you want your Impulse C logic to communicate with MegaFunction components, it's slightly more complicated. You have several options, including:

- Using shared memory (co_memory in Impulse C) to communicate
- Writing an Impulse C stream wrapper for the MegaFunction component, using the documented protocol for Impulse C streams
- Using an embedded CPU as an intermediary, with software handling the interaction between MegaFunction and Impulse C
- Hand-coding (in HDL) a non-standard interface between MegaFunction and Impulse C
Ralph Bodenner
Impulse Accelerated Technologies, Inc.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users