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) Definitionaltserial_flash_loader.inc in the < Quartus® Prime installation directory>\libraries\megafunctions directory.
FUNCTION altserial_flash_loader
(
sdoin,
asmi_access_granted,
dclkin,
scein,
noe
)
WITH
(
enable_shared_access
)
RETURNS
(
asmi_access_request,
data0out
);