Re: [sv-bc] Query on Virtual (parameterized) interface declaration

From: Surya Pratik Saha <spsaha@cal.interrasystems.com>
Date: Mon Aug 23 2010 - 23:18:14 PDT

  Thanks Steven for your valuable comments. Do you have any comment
regarding Kakoli's original query?

Regards
Surya

-------- Original Message --------
Subject: Re: [sv-bc] Query on Virtual (parameterized) interface declaration
From: Steven Sharp <sharp@cadence.com>
To: sharp@cadence.com, spsaha@cal.interrasystems.com
Cc: Brad.Pierce@synopsys.com, sv-bc@eda.org
Date: Tuesday, August 24, 2010 11:43:16 AM
> I would think that the types assigned to type parameters would need to
> be matching, not just equivalent.
>
> If nothing else, some situations could be confusing if equivalent types
> were allowed. Equivalent types allow arrays to use different ranges as
> long as they have the same number of elements. If someone referred to
> vifc.array[1], they would probably expect that to mean the same thing
> as ifc.array[1] if vifc had been assigned ifc. But if the range for the
> array type in the virtual interface could be different from the range for
> the array type in the interface, then they wouldn't mean the same thing.
> They could refer to different elements. Requiring matching types will
> avoid this problem.
>
>
> Steven Sharp | Architect | Cadence
>
> P: 508.459.1436 M: 774.535.4149 www.cadence.com
>
>
>
>
>

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Mon Aug 23 23:19:14 2010

This archive was generated by hypermail 2.1.8 : Mon Aug 23 2010 - 23:21:42 PDT