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

Note:

The sconst and aconst ports are provided for backward compatibility only, but should be left unconnected in newer projects.

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

FUNCTION lpm_tff (data[LPM_WIDTH-1..0], clock, enable,

                sclr, sset, sconst, sload,

                aclr, aset, aconst, aload)

        WITH (LPM_WIDTH, LPM_AVALUE, LPM_SVALUE)

        RETURNS(q[LPM_WIDTH-1..0]);