AHDL Function Prototype (port name and order also apply to Verilog HDL)

Note:

Notes: The aconst port is provided only for backward compatibility, but should be left unconnected in newer projects.

The following AHDL function prototype is located in the AHDL Include File (.inc) Definitionlpm_latch.inc in the <Intel® Quartus® Prime installation directory>\libraries\megafunctions directory.

FUNCTION lpm_latch (

        data[LPM_WIDTH-1..0],

        gate,

        aclr,

        aset,

        aconst -- mf_only_port

        )

        WITH

        (

        LPM_WIDTH,

        LPM_AVALUE

        )

        RETURNS

        (

        q[LPM_WIDTH-1..0]

        );