Re: [sv-ec] comments on 1356

From: Gordon Vreugdenhil <gordonv@Model.com>
Date: Mon Aug 29 2011 - 06:54:23 PDT

On 8/26/2011 5:25 PM, Francoise Martinolle wrote:

> COMMENT # 27
> ===========
>
> Page 10 section 8.25.9 The whole paragraph needs rewording,
>
> While inline constraints shall also be
>
> legal, interface classes cannot contain any data meaning that inline
> constraints will only be able to express
>
> conditions related to state variables and are therefore of very
> limited utility. Use of rand_mode and
>
> constraint_mode shall not be legal as a consequence of the name
> resolution rules and the fact that interface
>
> classes are not permitted to contain data members.
>
> Proposed change:
>
> Inlined constraints for a randomize call of a interface class
> handle are of limited use since interface classes cannot contain any
> data member. rand_mode and constraint_mode calls are illegal for an
> interface class object.
>

Francoise, the above was discussed at the time. We agreed on the wording
in the proposal since we aren't adding a new rule -- the illegality
is a direct result of other rules and the lack of data members. Your
wording is stated as a new rule and I don't think that is an improvement.
I would not be in favor of your wording here.

Gord.

-- 
--------------------------------------------------------------------
Gordon Vreugdenhil                                503-685-0808
Model Technology (Mentor Graphics)                gordonv@model.com
-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Mon Aug 29 06:55:05 2011

This archive was generated by hypermail 2.1.8 : Mon Aug 29 2011 - 06:55:18 PDT