AHDL Function Prototype (port name and order also apply to Verilog HDL)
The following AHDL function prototype is located in the AHDL Include File (.inc) Definitionlpm_inv.inc in the <Intel® Quartus® Prime installation directory>\libraries\megafunctions directory.
FUNCTION lpm_inv(data[LPM_WIDTH-1..0]) WITH (LPM_WIDTH) RETURNS (result[LPM_WIDTH-1..0]);