Re: [sv-bc] Interface issues

From: Peter Flake <Peter.Flake@synopsys.com>
Date: Tue Mar 09 2004 - 08:00:31 PST

Hi Francoise,

If myl is not a typedef or a class, then you know that i must be an interface.

Regards,

Peter

At 17:48 05/03/2004 -0500, Francoise Martinolle wrote:
>5) ambiguity of interface declarations with variable declarations
>-------------------------------------------------------------------------------------------
>When a module has an interface port and uses the non ansi port
>declaration, the compiler cannot determine if it was an interface
>declaration or a variable declaration.
>Ex:
>
>module ( i);
>myI i; // what is i? an interface or a variable, we cannot determine until
>the resolution of myI is completed.
>
>Suggestion is to add the keyword interface before myI:
>interface myI i;
Received on Tue Mar 9 08:00:39 2004

This archive was generated by hypermail 2.1.8 : Tue Mar 09 2004 - 08:01:14 PST