Implementing complex megafunctions in programmable logic | IEEE Conference Publication | IEEE Xplore