[sv-ec] SV: class instance inside an interface

From: <vhdlcohen_at_.....>
Date: Mon Jul 10 2006 - 08:22:01 PDT
 From Adrian Coman, 
http://verificationguild.com/modules.php?name=Forums&file=viewtopic&p=546
1#5461
The SV LRM doesn't say anything about classes inside interfaces, only:
Quote:
Page 349, IEEE Std 1800™-2005: An interface can have parameters, 
constants, variables, functions, and tasks.

So it doesn't specifically forbidden the usage of classes inside 
interfaces.
_________________

I agree with you that the LRM is ambiguous. I did a quick test on a 
simulator, and it compiled OK.
Translation: As of right now, it's a matter of interpretation. But 
logically, in some respects interfaces are similar to modules in that 
they can have arguments, tasks, and temporal properties, among other 
things. Thus, since modules can have class intances, why should the 
interfaces be excluded. It seems that this is the path that vendors are 
taking.
Ben Cohen
________________________________________________________________________
Check out AOL.com today. Breaking news, video search, pictures, email 
and IM. All on demand. Always Free.
Received on Mon Jul 10 08:22:25 2006

This archive was generated by hypermail 2.1.8 : Mon Jul 10 2006 - 08:22:40 PDT