RE: another change to the Reflection API

From: Hannes Froehlich <hannes@cadence.com>
Date: Fri Sep 05 2014 - 03:00:56 PDT
I'm ok with that.

From: owner-ieee1647@eda.org [mailto:owner-ieee1647@eda.org] On Behalf Of Yuri Tsoglin
Sent: 04 September 2014 17:25
To: ieee1647@eda.org
Subject: another change to the Reflection API

Hi,

Since we already had a ballot on the updated Reflection API chapter:
http://www.eda-twiki.org/twiki/pub/P1647/DownLoads/reflection_api_2014-07-08_pm.pdf
I am raising this here separately.

In the document above, we have added these two methods:

rf_scalar.get_set_of_values(): set
Returns a set that contains all the legal values of this scalar type, similar to using the set_of_values()
operator. If this type is the real type, or if it is an unbounded integer type without a subrange, an
exception is issued.

rf_scalar.get_full_set_of_values(): set
Returns a set that contains all possible values of this scalar type, similar to using the
full_set_of_values() operator. If this type is the real type, or if it is an unbounded integer type without
a subrange, an exception is issued.

I propose now to make them methods of rf_numeric (instead of rf_scalar), and remove the note about the real type.
This is because, in accordance with the other changes we're working on right now (on the new 'set' type), the operators set_of_values() and full_set_of_values() only apply to numeric types, and not to other scalar types (e.g. enumerated).

If we agree, we will make this change as well, as part of the 'set' type updates.

Thanks,
Yuri.




[cid:image002.jpg@01CFC8F8.AAFF5AE0]

Yuri Tsoglin | e Language team, Specman RnD

P: 972.3.9004305 M: 972.54.6468177 F: 972.3.9004001 www.cadence.com<http://www.cadence.com>







--
This message has been scanned for viruses and
dangerous content by MailScanner<http://www.mailscanner.info/>, and is
believed to be clean.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



image001.gif
image002.jpg
Received on Fri Sep 5 03:01:35 2014

This archive was generated by hypermail 2.1.8 : Fri Sep 05 2014 - 03:01:46 PDT