RE: SN constants

From: Michael (Mac) McNamara <mcnamara_at_.....>
Date: Tue Dec 15 2009 - 13:57:02 PST
"P1647" is the official name for the work product of an open PAR, which would consist of proposed enhancements, changes et cetera for the standard 1647.  As such things qualified with P1647 mean something that is coming, but is not yet here.

So we should use something other than P1647 as the prefix for these macros.  As macros need to start with an alphabetic character, I would suggest something like:
IEEE1647_M_E

Michael McNamara
VP&GM System Software 
Cadence Design Systems
mcnamara@cadence.com 

-----Original Message-----
From: owner-ieee1647@eda.org [mailto:owner-ieee1647@eda.org] On Behalf Of Andrew Piziali
Sent: Thursday, October 22, 2009 3:48 PM
To: darren.galpin@infineon.com
Cc: Matan Vax; Mike.Bartley@infineon.com; Serrie.Chapman@infineon.com; ieee1647@eda.org
Subject: Re: SN constants

Darren, you wrote:

> In the donation for real types, there exists two tables, 17-2
> Mathematical constants, and 17-3 Physical constants.  Note that all of
> the constants defined are prefixed with SN_.

> Having looked through the LRM, there are no constants there defined
> starting with SN_, and SN_ would indicate that it was Specman
> specific.  Should such constants actually be deleted from the
> standard, and be left to be tool specific?  What are your thoughts?

The standard currently includes a list of predefined constants in table
6 of chapter 4.  As expected, none of these use the SN_ prefix.  I
suggest we consider adding these constants to the standard, substituting
a new prefix for the SN_ prefix.  The prefix serves the purpose of
preventing collisions in the constant name space of the environment.  A
prefix such as "P1647_" would so nicely:

    Table 17-2

    Donated         Standard
    Constant        Constant
    Value           Value
    -----------     --------------
    SN_M_E          P1647_M_E
    SN_M_LOG2E      P1647_M_LOG2E
    SN_M_LOG10E     P1647_M_LOG10E
    SN_M_LN2        P1647_M_LN2
    SN_M_LN10       P1647_M_LN10
    SN_M_PI         P1647_M_PI
    SN_M_TWO_PI     P1647_M_TWO_PI
    SN_M_PI_2       P1647_M_PI_2
    SN_M_PI_4       P1647_M_PI_4
    SN_M_1_PI       P1647_M_1_PI
    SN_M_2_PI       P1647_M_2_PI
    SN_M_2_SQRTPI   P1647_M_2_SQRTPI
    SN_M_SQRT2      P1647_M_SQRT2
    SN_M_SQRT1_2    P1647_M_SQRT1_2


    Table 17-3

    Donated         Standard
    Constant        Constant
    Value           Value
    -----------     --------------
    SN_P_Q          P1647_P_Q
    SN_P_C          P1647_P_C
    SN_P_K          P1647_P_K
    SN_P_H          P1647_P_H
    SN_P_EPS0       P1647_P_EPS0
    SN_P_U0         P1647_P_U0
    SN_P_CELSIUS0   P1647_P_CELSIUS0



-- 
	Andrew Piziali, <andy@piziali.dv.org>, +1-214-455-8577
	Skype andrew_piziali

"If you have to learn about ESL, you cannot ask for better instructors.
Individually each of the three authors can provide you with a robust
understanding of ESL.  Together they provide a formidable look at this
quite misunderstood segment of EDA." -- Gabe Moretti on the book ESL
Design and Verification, "EDA Design Line," April 24, 2007


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


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Tue Dec 15 13:58:09 2009

This archive was generated by hypermail 2.1.8 : Tue Dec 15 2009 - 13:58:16 PST