1、 IEEE Standard for SystemVerilog Unified Hardware Design, Specification, and Verification Language Sponsored by the Design Automation Standards Committee IEEE 3 Park Avenue New York, NY 10016-5997 USA IEEE Computer Society and the IEEE Standards Association Corporate Advisory Group IEEE Std 1800-201
2、7 (Revision of IEEE Std 1800-2012) IEEE Std 1800-2017(Revision ofIEEE Std 1800-2012)IEEE Standard for SystemVerilogUnified Hardware Design, Specification, and Verification LanguageSponsorDesign Automation Standards Committeeof theIEEE Computer Societyand theIEEE Standards Association Corporate Advis
3、ory GroupApproved 6 December 2017IEEE-SA Standards BoardThe Institute of Electrical and Electronics Engineers, Inc.3 Park Avenue, New York, NY 10016-5997, USACopyright 2018 by The Institute of Electrical and Electronics Engineers, Inc.All rights reserved. Published 21 February 2018. Printed in the U
4、nited States of America.IEEE, 802, and POSIX are registered trademarks in the U.S. Patent fitnessfor a particular purpose; non-infringement; and quality, accuracy, effectiveness, currency, or completenessof material. In addition, IEEE disclaims any and all conditions relating to: results; and workma
5、nlike effort.IEEE standards documents are supplied “AS IS” and “WITH ALL FAULTS.”Use of an IEEE standard is wholly voluntary. The existence of an IEEE standard does not imply that thereare no other ways to produce, test, measure, purchase, market, or provide other goods and services related tothe sc
6、ope of the IEEE standard. Furthermore, the viewpoint expressed at the time a standard is approved andissued is subject to change brought about through developments in the state of the art and commentsreceived from users of the standard.In publishing and making its standards available, IEEE is not su
7、ggesting or rendering professional or otherservices for, or on behalf of, any person or entity nor is IEEE undertaking to perform any duty owed by anyother person or entity to another. Any person utilizing any IEEE Standards document, should rely upon hisor her own independent judgment in the exerci
8、se of reasonable care in any given circumstances or, asappropriate, seek the advice of a competent professional in determining the appropriateness of a given IEEEstandard.IN NO EVENT SHALL IEEE BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BU
9、T NOT LIMITED TO:PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; ORBUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OROTHERWISE) ARISING IN ANY WAY OUT OF THE PUBLICATION, USE OF, OR
10、RELIANCEUPON ANY STANDARD, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE ANDREGARDLESS OF WHETHER SUCH DAMAGE WAS FORESEEABLE.4Copyright 2018 IEEE. All rights reserved.Translations The IEEE consensus development process involves the review of documents in English only. In the eventthat an IEEE s
11、tandard is translated, only the English version published by IEEE should be considered theapproved IEEE standard.Official statements A statement, written or oral, that is not processed in accordance with the IEEE-SA Standards BoardOperations Manual shall not be considered or inferred to be the offic
12、ial position of IEEE or any of itscommittees and shall not be considered to be, or be relied upon as, a formal position of IEEE. At lectures,symposia, seminars, or educational courses, an individual presenting information on IEEE standards shallmake it clear that his or her views should be considere
13、d the personal views of that individual rather than theformal position of IEEE.Comments on standardsComments for revision of IEEE Standards documents are welcome from any interested party, regardless ofmembership affiliation with IEEE. However, IEEE does not provide consulting information or advicep
14、ertaining to IEEE Standards documents. Suggestions for changes in documents should be in the form of aproposed change of text, together with appropriate supporting comments. Since IEEE standards represent aconsensus of concerned interests, it is important that any responses to comments and questions
15、 also receivethe concurrence of a balance of interests. For this reason, IEEE and the members of its societies andStandards Coordinating Committees are not able to provide an instant response to comments or questionsexcept in those cases where the matter has previously been addressed. For the same r
16、eason, IEEE does notrespond to interpretation requests. Any person who would like to participate in revisions to an IEEEstandard is welcome to join the relevant IEEE working group.Comments on standards should be submitted to the following address:Secretary, IEEE-SA Standards Board 445 Hoes Lane Pisc
17、ataway, NJ 08854 USALaws and regulations Users of IEEE Standards documents should consult all applicable laws and regulations. Compliance with theprovisions of any IEEE Standards document does not imply compliance to any applicable regulatoryrequirements. Implementers of the standard are responsible
18、 for observing or referring to the applicableregulatory requirements. IEEE does not, by the publication of its standards, intend to urge action that is notin compliance with applicable laws, and these documents may not be construed as doing so.CopyrightsIEEE draft and approved standards are copyrigh
19、ted by IEEE under U.S. and international copyright laws.They are made available by IEEE and are adopted for a wide variety of both public and private uses. Theseinclude both use, by reference, in laws and regulations, and use in private self-regulation, standardization,and the promotion of engineeri
20、ng practices and methods. By making these documents available for use andadoption by public authorities and private users, IEEE does not waive any rights in copyright to thedocuments.5Copyright 2018 IEEE. All rights reserved.Photocopies Subject to payment of the appropriate fee, IEEE will grant user
21、s a limited, non-exclusive license tophotocopy portions of any individual standard for company or organizational internal use or individual, non-commercial use only. To arrange for payment of licensing fees, please contact Copyright Clearance Center,Customer Service, 222 Rosewood Drive, Danvers, MA
22、01923 USA; +1 978 750 8400. Permission tophotocopy portions of any individual standard for educational classroom use can also be obtained throughthe Copyright Clearance Center.Updating of IEEE Standards documents Users of IEEE Standards documents should be aware that these documents may be supersede
23、d at any timeby the issuance of new editions or may be amended from time to time through the issuance of amendments,corrigenda, or errata. An official IEEE document at any point in time consists of the current edition of thedocument together with any amendments, corrigenda, or errata then in effect.
24、 Every IEEE standard is subjected to review at least every ten years. When a document is more than ten yearsold and has not undergone a revision process, it is reasonable to conclude that its contents, although still ofsome value, do not wholly reflect the present state of the art. Users are caution
25、ed to check to determine thatthey have the latest edition of any IEEE standard.In order to determine whether a given document is the current edition and whether it has been amendedthrough the issuance of amendments, corrigenda, or errata, visit the IEEE-SA Website at http:/ieeexplore.ieee.org or con
26、tact IEEE at the address listed previously. For more information about the IEEESA or IEEEs standards development process, visit the IEEE-SA Website at http:/standards.ieee.org.Errata Errata, if any, for all IEEE standards can be accessed on the IEEE-SA Website at the following URL: http:/standards.i
27、eee.org/findstds/errata/index.html. Users are encouraged to check this URL for errataperiodically.PatentsAttention is called to the possibility that implementation of this standard may require use of subject mattercovered by patent rights. By publication of this standard, no position is taken by the
28、 IEEE with respect to theexistence or validity of any patent rights in connection therewith. If a patent holder or patent applicant hasfiled a statement of assurance via an Accepted Letter of Assurance, then the statement is listed on the IEEE-SA Website at http:/standards.ieee.org/about/sasb/patcom
29、/patents.html. Letters of Assurance may indicatewhether the Submitter is willing or unwilling to grant licenses under patent rights without compensation orunder reasonable rates, with reasonable terms and conditions that are demonstrably free of any unfairdiscrimination to applicants desiring to obt
30、ain such licenses.Essential Patent Claims may exist for which a Letter of Assurance has not been received. The IEEE is notresponsible for identifying Essential Patent Claims for which a license may be required, for conductinginquiries into the legal validity or scope of Patents Claims, or determinin
31、g whether any licensing terms orconditions provided in connection with submission of a Letter of Assurance, if any, or in any licensingagreements are reasonable or non-discriminatory. Users of this standard are expressly advised thatdetermination of the validity of any patent rights, and the risk of
32、 infringement of such rights, is entirely theirown responsibility. Further information may be obtained from the IEEE Standards Association.6Copyright 2018 IEEE. All rights reserved.ParticipantsThe SystemVerilog Language Working Group is entity based. At the time this standard was completed,the Syste
33、mVerilog Working Group had the following membership:Karen Pieper, Accellera Systems Initiative, Chair Neil Korpusik, Oracle Corporation, Vice Chair, Technical Chair Dennis Brophy, Mentor, a Siemens Business, SecretaryShalom Bresticker, Accellera Systems Initiative, EditorWork on this standard was di
34、vided among primary committees.The Design and Testbench Committee (SV-BC) was responsible for the specification of the design andtestbench features of SystemVerilog. Matt Maidment, Intel Corporation, Chair Brad Pierce, Synopsys, Inc., Co-Chair The Assertions Committee (SV-AC) was responsible for the
35、 specification of the assertion features ofSystemVerilog. Dmitry Korchemny, Synopsys, Inc., Chair Erik Seligman, Intel Corporation, Co-Chair The Discrete Committee (SV-DC) was responsible for defining features to support modeling of analog/mixed-signal circuit components in the discrete domain. Scot
36、t Little, Mentor, a Siemens Business, Chair Scott Cranston, Cadence Design Systems, Inc., Co-Chair Dave Rich, Mentor, a Siemens BusinessDmitry Korchemny, Synopsys, Inc.Michiel Ligthart, Design Automation, Inc.Matt Maidment, Intel CorporationScott Little, Mentor, a Siemens BusinessCharles Dawson, Cad
37、ence Design Systems, Inc.Shalom Bresticker, Accellera Systems InitiativeJonathan Bromley, Oracle CorporationEric Coffin, Mentor, a Siemens BusinessMark Hartoog, Synopsys, Inc.Neil Korpusik, Oracle CorporationFrancoise Martinolle, Cadence Design Systems, Inc.C. Venkat Ramana Rao, Mentor, a Siemens Bu
38、sinessJustin Refice, NVIDIA CorporationDave Rich, Mentor, a Siemens BusinessRay Ryan, Mentor, a Siemens BusinessArturo Salz, Synopsys, Inc.Steven Sharp, Cadence Design Systems, Inc.Mark Strickland, Cisco Systems, Inc.Brandon Tipp, Intel CorporationMehbub Ali, Intel CorporationShalom Bresticker, Acce
39、llera Systems InitiativeEduard Cerny, Synopsys, Inc.Ang Boon Chong, Intel CorporationBen Cohen, Accellera Systems InitiativeManisha Kulshrestha, Mentor Graphics CorporationAnupam Prabhakar, Mentor Graphics CorporationSamik Sengupta, Synopsys, Inc.Kevin Cameron, SamsungShekar Chetput, Cadence Design
40、Systems, Inc.Dave Cronauer, Synopsys, Inc.Mark Hartoog, Synopsys, Inc.Arturo Salz, Synopsys, Inc.Aaron Spratt, Cadence Design Systems, Inc.Martin Vlach, Mentor, a Siemens BusinessGordon Vreugdenhil, Mentor, a Siemens Business7Copyright 2018 IEEE. All rights reserved.The following members of the enti
41、ty balloting committee voted on this standard. Balloters may have votedfor approval, disapproval, or abstention. When the IEEE-SA Standards Board approved this standard on 6 December 2017, it had the followingmembership:Jean-Philippe Faure, ChairGary Hoffman, Vice ChairJohn D. Kulick, Past ChairKons
42、tantinos Karachalios, Secretary*Member EmeritusAccellera Systems Initiative, Inc.Cadence Design Systems, Inc.Cisco Systems, Inc.Intel CorporationOracle, Inc.Siemens CorporationSynopsys, Inc.Verific Design Automation, Inc.Chuck AdamsMasayuki AriyoshiTed BurseStephen DukesDoug EdwardsJ. Travis Griffit
43、hMichael JanezicThomas KoshyJoseph L. Koepfinger*Kevin LuDaleep MohlaDamir NovoselRonald C. PetersenAnnette D. ReillyRobby RobsonDorothy StanleyAdrian StephensMehmet UlemaPhil WennblomHoward WolfmanYu Yuan8Copyright 2018 IEEE. All rights reserved.IntroductionThe purpose of this standard is to provid
44、e the electronic design automation (EDA), semiconductor, andsystem design communities with a well-defined and official IEEE unified hardware design, specification,and verification standard language. The language is designed to coexist and enhance the hardwaredescription and verification languages (H
45、DVLs) presently used by designers while providing the capabilitieslacking in those languages. SystemVerilog is a unified hardware design, specification, and verification language based on the AccelleraSystemVerilog 3.1a extensions to the Verilog hardware description language (HDL) B4, published in20
46、04. Accellera is a consortium of EDA, semiconductor, and system companies. IEEE Std1800 enables aproductivity boost in design and validation and covers design, simulation, validation, and formalassertion-based verification flows. SystemVerilog enables the use of a unified language for abstract and d
47、etailed specification of the design,specification of assertions, coverage, and testbench verification based on manual or automaticmethodologies. SystemVerilog offers application programming interfaces (APIs) for coverage andassertions, and a direct programming interface (DPI) to access proprietary f
48、unctionality. SystemVerilogoffers methods that allow designers to continue to use present design languages when necessary to leverageexisting designs and intellectual property (IP). This standardization project will provide the VLSI designengineers with a well-defined IEEE standard, which meets thei
49、r requirements in design and validation, andwhich enables a step function increase in their productivity. This standardization project will also providethe EDA industry with a standard to which they can adhere and that they can support in order to deliver theirsolutions in this area.This introduction is not part of IEEE Std 1800-2017, IEEE Standard for SystemVerilogUnified Hardware Design,Specification, and Verification Language.9Copyright 2018 IEEE. All rights reserved.ContentsPart One: Design and Verification Constructs1. Overview.381.1 Scope381.2 Purpose.381.3 Cont