| |
LCS-2016-043 |
| |
2 {16-Jan-2017} 1 {29-Dec-2016} |
| |
16-Jan-2017 |
| |
Voting |
| |
Jim Lewis |
| |
Main.JimLewis |
| |
API and Attributes for PSL |
| |
history |
| |
API and Attributes for PSL |
P'SIGNAL Kind: Signal. Prefix: Any defined PSL directive (assert, cover, assume, restrict) denoted by the static name P. Result type: Type BOOLEAN. Result: A boolean value indicating the current completion status of a PSL directive (assert, cover, assume, restrict). A PSL assert, assume, or restrict value of FALSE indicates that it has failed during a given cycle. A PSL cover value of TRUE indicates that is was satisfied during a given cycle. Fairness directives are not supported. P'EVENT Kind: Function. Prefix: Any defined sequence, property, assert, cover denoted by the static name P. Result type: Type BOOLEAN. Result: A value TRUE during each simulation cycle in which sequence, property, assert, cover completes.Note: If a PSL directive does not have a statement label, it does not have a static name.
-- PSL Assert Failed
impure function PslAssertFailed return boolean ;
-- PSL Is Covered
impure function PslIsCovered return boolean ;
-- Psl Cover Asserts
procedure SetPslCoverAssert( Enable : boolean := TRUE) ;
impure function GetPslCoverAssert return boolean ;
-- Psl Is AssertCovered
impure function PslIsAssertCovered return boolean ;
-- Clear PSL State (Assert and Cover)
procedure ClearPslState ;