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