Section 23.15.1, Section 23.16.3
Clarifications on $readmem/$writemem interaction with index types for associative arrays

In 28.4.5, MODIFY the text as follows:

 

28.4.5 Function result

An imported function declaration must explicitly specify a data type or void for the type of the function’s return

result. Function result types are restricted to small values. The following SystemVerilog data types are allowed

for imported function results:

 

— void, byte, shortint, int, longint, real, shortreal, chandle, and string

— packed bit arrays up to 32 bits and all types that are eventually equivalent to packed bit arrays up to 32 bits

—      scalar values of type bit and logic

 

The same restrictions apply for the result types of exported functions.