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

FUNCTION altufm_parallel (

        addr[WIDTH_ADDRESS-1..0],

        di[WIDTH_DATA-1..0],

        nerase,

        nread,

        nwrite

)

WITH (

        ACCESS_MODE,

        ERASE_TIME,

        LPM_FILE,

        OSC_FREQUENCY,

        PROGRAM_TIME,

        WIDTH_ADDRESS,

        WIDTH_DATA,

        WIDTH_UFM_ADDRESS

)

RETURNS (

        data_valid,

        do[WIDTH_DATA-1..0],

        nbusy,

        osc

);