Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

Difference about megafunction and macrofunction

I don't understand what is the difference about megafunction and macrofunction, someone can explain to me?

thanks :)

3 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Not sure if these terms are standardised. What is somebody's macro is else's mega. I view all expensive cores as mega... and the free stuff as macro...it is all about other's code to be reused so they name it as suits the market.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    A macro function is a small Verilog or C (preprocessor) function.

    It's usually a single line of code.

    A megafunction is a term altera uses for their configurable SOPC IP cores.

    Some of them are free, some you need to pay for.

    Just look in the Quartus user manual and you will understand what both are.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    i think Macrofunction is a pretty old term, it was called Old-Style Macrofunction even in MAX+PLUS II

    now, it seems like MegaCore function is a pay for IP core and Megafunction is a free IP like RAM, PLL, etc