Direct Python interface to Altera SLD Mega-function