Skip to main content

Let, Sequence and Property Declarations; Inference

  • Chapter
  • First Online:
SVA: The Power of Assertions in SystemVerilog
  • 2542 Accesses

Abstract

In SystemVerilog, modules, programs, interfaces, checkers, functions, and tasks provide means for reuse, and for abstracting and hiding details. SystemVerilog assertions provide such means too. This is achieved using parameterized let, sequence, and property declarations. Their argument lists as well as instantiation semantics are quite different from the other reuse features. In addition, certain kinds of actual arguments can be inferred from the instantiation context. Similar to sequences and properties, let declarations allow to abstract expressions, making code more readable and reusable. let can be used anywhere, not only in assertions. One of their intended uses is for defining reusable parameterizable expressions for immediate and deferred assertions.

The beginning of wisdom is to call things by their right names.

Chinese proverb

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 99.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 129.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 179.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    The compiler may issue a warning for the second macro definition, saying that the symbol has been redefined.

  2. 2.

    The SystemVerilog LRM provides many examples illustrating the use of let in various scoping contexts, with and without typed arguments and type casting, as well as the use of sampled value functions in let definitions.

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2015 Springer International Publishing Switzerland

About this chapter

Cite this chapter

Cerny, E., Dudani, S., Havlicek, J., Korchemny, D. (2015). Let, Sequence and Property Declarations; Inference. In: SVA: The Power of Assertions in SystemVerilog. Springer, Cham. https://doi.org/10.1007/978-3-319-07139-8_8

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-07139-8_8

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-07138-1

  • Online ISBN: 978-3-319-07139-8

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics