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_ram_io.inc in the < Quartus® Prime installation directory>\libraries\megafunctions directory.
FUNCTION lpm_ram_io(address[LPM_WIDTHAD-1..0],
we, inclock, outclock, outenab, memenab)
WITH (LPM_WIDTH, LPM_WIDTHAD, LPM_NUMWORDS, LPM_FILE,
LPM_INDATA, LPM_ADDRESS_CONTROL, LPM_OUTDATA)
RETURNS (dio[LPM_WIDTH-1..0]);