Altera_Forum
Honored Contributor
11 years agoFunction application
Hi When we use “ function” and where is its exact usage? what is the difference between it and “component”? if it is possible explain it by examples. Thank you
good question.
component is meant to be direct definition of a design modul with its inputs/outputs and internal functionality. function( also has inputs/outputs and internal functionality but these are not meant to be direct module definition but rather a piece of user code to be inserted when that function is called up. it could due to the way HDL evolved (component from symbol era, function of programming language)