RE: [sv-bc] question from sv-cc on the funtion_prototype

From: Rich, Dave <Dave_Rich@mentorg.com>
Date: Wed Oct 13 2004 - 14:47:40 PDT

 
Françoise,

It might have helped to provide a link to the original SV-CC issue http://www.eda.org/svdb/bug_view_page.php?bug_id=0000049

I think the question is "Can section 27.4.5 be modified to explicitly require that all functions specify a return data type, there is no implicit return type?"

I believe the answer is yes, all functions (and full prototypes) require an explicit return type.

Dave

-----Original Message-----
From: owner-sv-bc@eda.org [mailto:owner-sv-bc@eda.org] On Behalf Of Steven Sharp
Sent: Wednesday, October 13, 2004 1:28 PM
To: sv-bc@eda.org; fm@cadence.com
Subject: Re: [sv-bc] question from sv-cc on the funtion_prototype

Perhaps I am missing something, but I don't see how SystemVerilog could do anything with the return value of the imported DPI function if it didn't know what type of value was being returned.

Steven Sharp
sharp@cadence.com
Received on Wed Oct 13 14:47:44 2004

This archive was generated by hypermail 2.1.8 : Wed Oct 13 2004 - 14:47:51 PDT