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.Received on Thu Oct 22 15:48:46 2009
This archive was generated by hypermail 2.1.8 : Thu Oct 22 2009 - 15:49:02 PDT