Portable Test and Stimulus Standard
Total Page:16
File Type:pdf, Size:1020Kb
1 Portable Test and Stimulus Standard 2 Version 2.0 Draft for Public Review 3 4 5 6 7 8 9 November 18, 2020 Copyright © 2020 Accellera. All rights reserved. Portable Test and Stimulus Standard 2.0 Draft for Public Review — November 18, 2020 1 Abstract: The definition of the language syntax, C++ library API, and accompanying semantics for the 2 specification of verification intent and behaviors reusable across multiple target platforms and allowing for 3 the automation of test generation is provided. This standard provides a declarative environment designed for 4 abstract behavioral description using actions, their inputs, outputs, and resource dependencies, and their 5 composition into use cases including data and control flows. These use cases capture verification intent that 6 can be analyzed to produce a wide range of possible legal scenarios for multiple execution platforms. It also 7 includes a preliminary mechanism to capture the programmer’s view of a peripheral device, independent of 8 the underlying platform, further enhancing portability. 9 Keywords: behavioral model, constrained randomization, functional verification, hardware-software inter- 10 face, portability, PSS, test generation. Copyright © 2020 Accellera. All rights reserved. 2 Portable Test and Stimulus Standard 2.0 Draft for Public Review — November 18, 2020 1 Notices 2 Accellera Systems Initiative (Accellera) Standards documents are developed within Accellera and the 3 Technical Committee of Accellera. Accellera develops its standards through a consensus development pro- 4 cess, approved by its members and board of directors, which brings together volunteers representing varied 5 viewpoints and interests to achieve the final product. Volunteers are members of Accellera and serve with- 6 out compensation. While Accellera administers the process and establishes rules to promote fairness in the 7 consensus development process, Accellera does not independently evaluate, test, or verify the accuracy of 8 any of the information contained in its standards. 9 Use of an Accellera Standard is wholly voluntary. Accellera disclaims liability for any personal injury, prop- 10 erty or other damage, of any nature whatsoever, whether special, indirect, consequential, or compensatory, 11 directly or indirectly resulting from the publication, use of, or reliance upon this, or any other Accellera 12 Standard document. 13 Accellera does not warrant or represent the accuracy or content of the material contained herein, and 14 expressly disclaims any express or implied warranty, including any implied warranty of merchantability or 15 suitability for a specific purpose, or that the use of the material contained herein is free from patent infringe- 16 ment. Accellera Standards documents are supplied "AS IS." 17 The existence of an Accellera Standard does not imply that there are no other ways to produce, test, mea- 18 sure, purchase, market, or provide other goods and services related to the scope of an Accellera Standard. 19 Furthermore, the viewpoint expressed at the time a standard is approved and issued is subject to change due 20 to developments in the state of the art and comments received from users of the standard. Every Accellera 21 Standard is subjected to review periodically for revision and update. Users are cautioned to check to deter- 22 mine that they have the latest edition of any Accellera Standard. 23 In publishing and making this document available, Accellera is not suggesting or rendering professional or 24 other services for, or on behalf of, any person or entity. Nor is Accellera undertaking to perform any duty 25 owed by any other person or entity to another. Any person utilizing this, and any other Accellera Standards 26 document, should rely upon the advice of a competent professional in determining the exercise of reasonable 27 care in any given circumstances. 28 Interpretations: Occasionally questions may arise regarding the meaning of portions of standards as they 29 relate to specific applications. When the need for interpretations is brought to the attention of Accellera, 30 Accellera will initiate action to prepare appropriate responses. Since Accellera Standards represent a consen- 31 sus of concerned interests, it is important to ensure that any interpretation has also received the concurrence 32 of a balance of interests. For this reason, Accellera and the members of its Technical Committees are not 33 able to provide an instant response to interpretation requests except in those cases where the matter has pre- 34 viously received formal consideration. 35 Comments for revision of Accellera Standards are welcome from any interested party, regardless of mem- 36 bership affiliation with Accellera. Suggestions for changes in documents should be in the form of a proposed 37 change of text, together with appropriate supporting comments. Comments on standards and requests for 38 interpretations should be addressed to: 39 Accellera Systems Initiative. 40 8698 Elk Grove Blvd Suite 1, #114 41 Elk Grove, CA 95624 42 USA 43 Note: Attention is called to the possibility that implementation of this standard may require use of 44 subject matter covered by patent rights. By publication of this standard, no position is taken with 45 respect to the existence or validity of any patent rights in connection therewith. Accellera shall not Copyright © 2020 Accellera. All rights reserved. 3 Portable Test and Stimulus Standard 2.0 Draft for Public Review — November 18, 2020 1 be responsible for identifying patents for which a license may be required by an Accellera standard 2 or for conducting inquiries into the legal validity or scope of those patents that are brought to its 3 attention. 4 Accellera is the sole entity that may authorize the use of Accellera-owned certification marks and/or trade- 5 marks to indicate compliance with the materials set forth herein. 6 Authorization to photocopy portions of any individual standard for internal or personal use must be granted 7 by Accellera, provided that permission is obtained from and any required fee is paid to Accellera. To arrange 8 for authorization please contact Lynn Garibaldi, Accellera Systems Initiative, 8698 Elk Grove Blvd Suite 1, 9 #114, Elk Grove, CA 95624, phone (916) 670-1056, e-mail [email protected]. Permission to photocopy 10 portions of any individual standard for educational classroom use can also be obtained from Accellera. 11 Suggestions for improvements to the Portable Test and Stimulus Standard 2.0 Draft for Public Review are 12 welcome. They should be sent to the PSS email reflector 13 [email protected] 14 The current Working Group web page is: 15 http://www.accellera.org/activities/working-groups/portable-stimulus Copyright © 2020 Accellera. All rights reserved. 4 Portable Test and Stimulus Standard 2.0 Draft for Public Review — November 18, 2020 1 Introduction 2 The definition of a Portable Test and Stimulus Standard (PSS) will enable user companies to select the best 3 tool(s) from competing vendors to meet their verification needs. Creation of a specification language for 4 abstract use-cases is required. The goal is to allow stimulus and tests, including coverage and results 5 checking, to be specified at a high level of abstraction, suitable for tools to interpret and create scenarios and 6 generate implementations in a variety of languages and tool environments, with consistent behavior across 7 multiple implementations. 8 This revision corrects errors and clarifies aspects of the language and semantic definition in version 1.0a of 9 the Portable Test and Stimulus Standard (February 2019). Copyright © 2020 Accellera. All rights reserved. 5 Portable Test and Stimulus Standard 2.0 Draft for Public Review — November 18, 2020 1 Participants 2 The Portable Stimulus Working Group (PSWG) is entity-based. At the time this standard was developed, the 3 PSWG had the following active participants: 4 Faris Khundakjie, Intel Corporation, Chair 5 Tom Fitzpatrick, Mentor, a Siemens business, Vice-Chair 6 David Brownell, Analog Devices, Inc., Secretary 7 Shalom Bresticker, Technical Editor 8 Joe Daniels, previous Technical Editor 9 Agnisys, Inc: Anupam Bakshi 10 AMD: Prabhat Gupta, Karl Whiting 11 AMIQ EDA: Cristian Amitroaie, Tom Anderson, Stefan Birman, Adrian Simionescu 12 Analog Devices, Inc: Gaurav Bhatnagar, David Brownell 13 Breker Verification Systems, Inc.: Leigh Brady, Adnan Hamid, David Kelf 14 Cadence Design Systems, Inc.: Bishnupriya Bhattacharya, Steve Brown, Stan Krolikoski, 15 Larry Melling, Sharon Rosenberg, Angelina Silver, Matan Vax 16 Cisco Systems, Inc.: Somasundaram Arunachalam 17 IBM: Holger Horbach 18 Intel Corporation: Ramon Chemel, Faris Khundakjie, Jeffrey Scruggs 19 Mentor, a Siemens business: Matthew Ballance, Dennis Brophy, Tom Fitzpatrick 20 National Instruments Corporation: Hugo Andrade 21 NVIDIA Corporation: Mark Glasser, Gaurav Vaidya 22 NXP Semiconductors N.V.: Monica Farkash 23 Qualcomm Incorporated: Sanjay Gupta 24 Semifore, Inc.: Jamsheed Agahi 25 Synopsys, Inc.: Hillel Miller, Meir Ovadia, Sumant Sathe, Srivatsa Vasudevan 26 Vayavya Labs Pvt. Ltd.: Uma Bali, Karthick Gururaj, Sandeep Pendharkar 27 Xilinx, Inc.: Georgios Karyotis 28 At the time of standardization, the PSWG had the following eligible voters: AMD Mentor, a Siemens business AMIQ EDA Qualcomm Incorporated Analog Devices, Inc. Semifore, Inc. Breker Verification Systems, Inc. Synopsys, Inc. Cadence Design Systems, Inc. Vayavya Labs Pvt. Ltd. Intel Corporation Xilinx, Inc. 29 Copyright © 2020