A Practical Introduction to PSL

Appendix B: Formal Syntax and Semantics

From IEEE Std.1850-2005. Copyright 2005 IEEE. All rights reserved.*

This appendix formally describes the syntax and semantics of the temporal layer.

B.1 Typed-Text Representation of Symbols

Table B.1 shows the mapping of various symbols used in this definition to the corresponding typed-text PSL representation, in the different flavors.

Table B.1: Typed-text symbols in the SystemVerilog, Verilog, VHDL, SystemC and GDL flavors

System Verilog

Verilog

VHDL

System C

GDL

?

->

->

->

->

->

=>

=>

=>

=>

=>

?

->

->

->

->

->

?

<->

<->

<->

<->

<->

?

!

!

not

!

!

?

&&

&&

and

&&

&&

?

or

:

:

to

:

..

? ?

[ ]

[ ]

( )

( )

( )

Note

For reasons of simplicity, the syntax given herein is more flexible than the one defined by the extended BNF (given in Appendix A). That is, some of the expressions which are legal here are not legal under the BNF grammar. Users should use the stricter syntax, as defined by the BNF grammar in Appendix A.

UNLIMITED FREE
ACCESS
TO THE WORLD'S BEST IDEAS

SUBMIT
Already a GlobalSpec user? Log in.

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.

Customize Your GlobalSpec Experience

Category: Programming Languages
Finish!
Privacy Policy

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.