Subject: [sv-cc] Re: Version 2 of DPI LRM
From: Andrzej Litwiniuk (Andrzej.Litwiniuk@synopsys.com)
Date: Tue Mar 11 2003 - 17:13:43 PST
> Will you be able to incorporate John's comments into the LRM drafts?
No problem, with the execption of Section 1.7 Examples. I'd rather not touch
them, I'm not sure I understood John's intent.
I'll incorporate all of them but the following one.
Andrzej
> > ------------------------------------------------------
> > Section 1.7
> >
> > 2nd from last sentence on page 9:
> >
> > "cname is optional here, it defaults to fname (for example,
> > for functions defined in the $root scope)."
> >
> > I'm not sure what is in parentheses has anything to do with
> > cname defaulting to fname. Why is it in here ? I suggest we remove it.
> >
> > ------------------------------------------------------
> > Section 1.7 Examples at end of section.
> >
> > I suggest making one of these examples use an aliased cname.
> >
> > I would also show module scope context here to illustrate
> > what is being said in the comments. May I suggest something like this:
> >
> > export "DPI" global_func; // export decl. and global_func
> > defined in $root void global_func(args ...) begin
> > ...
> > end
> >
> > module bar();
> > export "DPI" Cfoo=foo; // export decl. and foo defined
> > in same scope
> > void foo(args ...) begin
> > ....
> > end
> > endmodule
This archive was generated by hypermail 2b28 : Tue Mar 11 2003 - 17:14:23 PST