The original intent, of course, was to signal whether an implementation supported the canonical interface or not. For that purpose, user code only needs to recognize whether "sv31a" is returned or not. There appear to be 3 basic choices -- specify that an implementation of svDpiVersion() returns: a. "sv31a" for non-canonical or anything else to indicate the canonical conventions are supported. b. "sv31a" or whatever is the most recent version of the Spec. (e.g., "P1800-2008"). c. "sv31a" or various strings corresponding to Spec. versions that exist (allow "P1800-2005," "P1800-2008"). Choices 'b' and 'c' apparently lead to perpetual revisions. These may only make sense if the function's return value is used to provide more information than just the original pre-canonical/canonical distinction. Ralph Duncan CloudShield Technologies -----Original Message----- From: owner-sv-cc@server.eda.org [mailto:owner-sv-cc@server.eda.org]On Behalf Of Francoise Martinolle Sent: Monday, June 23, 2008 9:44 AM To: SV-CC Cc: Maidment, Matthew R Subject: [sv-cc] mantis item 2099 Charles, mantis item 2099 has a list of review comments, one of which ia review item for the DPI section: I.9.1.3: should this be changed to "P1800-2008"? There is a function in DPI which returns the version number.: P1800-2005 or sv31a ------------------------------------- The svDpiVersion() function returns a string indicating which DPI standard is supported by the simulator and in particular which canonical value representation is being provided. For example, a tool that is based on IEEE Std 1800-2005, i.e., the VPI-based canonical value, shall return the string "1800-2005". Simulators implementing to the prior Accellera SV3.1a standards, and thus using the svLogicVec32 value representation, shall return the string "SV3.1a". /* Returns either version string "1800-2005" or "SV3.1a" */ const char* svDpiVersion(); ----------------------------------------------------- Do we need to change the version returned from P1800-2005 to P1800-2009, or add a new version P1800-2009? If the answer is " no change required, please add a bug note for mantis 2099, otherwise please file a new mantis item and mark it as a child of 2099 to reserve the version #. Francoise -- This message has been scanned for viruses and dangerous content by <http://www.mailscanner.info/> 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 Mon Jun 23 10:15:09 2008
This archive was generated by hypermail 2.1.8 : Mon Jun 23 2008 - 10:15:14 PDT