[sv-bc] ref can be used as formal argument of exported task/function?

From: Dhiraj Kumar Prasad <dhiraj_at_.....>
Date: Mon Jan 14 2008 - 06:31:29 PST
Hi,

Is the following testcase is valid?

module tmp();

export "DPI-C" function  func1;

function automatic func1(ref in1,output byte out1);
begin
 out1 = in1;
end
endfunction

endmodule

In LRM P1800-2005,Nothing is said about the use of ref data type in the
formal argument of exported task/function although the restriction on 
imported
task/function is given in section 26.4.4.

Thanks,
Dhiraj



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Mon Jan 14 06:37:55 2008

This archive was generated by hypermail 2.1.8 : Mon Jan 14 2008 - 06:38:32 PST