Abstract
‘expect’ takes on the same syntax (not semantics) as ‘assert’ in a procedural block. Note that ‘expect’ must be used only in a procedural block. It cannot be used outside of a procedural block as in assert/property/sequence—but recall that ‘assert’ can be used both in the procedural block as well as outside. So, what’s the difference between ‘assert’ and ‘expect’?
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsAuthor information
Authors and Affiliations
Corresponding author
Rights and permissions
Copyright information
© 2014 Springer Science+Business Media New York
About this chapter
Cite this chapter
Mehta, A.B. (2014). ‘expect’ . In: SystemVerilog Assertions and Functional Coverage. Springer, New York, NY. https://doi.org/10.1007/978-1-4614-7324-4_12
Download citation
DOI: https://doi.org/10.1007/978-1-4614-7324-4_12
Published:
Publisher Name: Springer, New York, NY
Print ISBN: 978-1-4614-7323-7
Online ISBN: 978-1-4614-7324-4
eBook Packages: EngineeringEngineering (R0)