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_decode.inc in the <Intel® Quartus® Prime installation directory>\libraries\megafunctions directory.

FUNCTION lpm_decode(data[LPM_WIDTH-1..0], enable, clock, aclr, clken)

        WITH (LPM_WIDTH, LPM_DECODES, LPM_PIPELINE)

        RETURNS (eq[LPM_DECODES-1..0]);