Synthesizing IEC 61499 function blocks to hardware