 |
|
|
|
|
|
|
|
|
|
|
|
|
SVUG Community Forum
|
|
| Author |
Messages |
|
Manimaran
Posts:6
 |
| 08/28/2008 10:54 PM |
|
Hi *, Can anybody tell if a modport declared in the interface have the same name of a class declaration??
example:
interface usb();
modport test ();
end interface
in other .sv file can i have
class test --- endclass
Thanks regards N.Manimaran. |
|
|
|
|
Malvika
Posts:3
 |
| 11/03/2008 10:44 PM |
|
Hi No. Better not to use like this. Thanks Malvika |
|
|
|
|
Karthikeyan
Posts:2
 |
| 11/10/2008 4:36 AM |
|
Hi
You can use the same identifiers as long as they are in different scope and you are comfortable with it.
Here modport can only be accessed through interface instance, so there will not be any clash between class name and modport name.
Thanks, Karthik
|
|
|
|
|
|
| You are not authorized to post a reply. |
|
|
|
ActiveForums 3.7
|
|
|

|
|
|
|
|
|
|
|
|
|
 |
|