Add "SVA syntax cheat sheet" comment to verificsva.cc

Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
Clifford Wolf 2018-02-26 14:31:58 +01:00
parent d31584c649
commit d1cb5150aa
1 changed files with 34 additions and 0 deletions

View File

@ -17,6 +17,40 @@
*
*/
// SVA Properties Simplified Syntax:
//
// prop:
// not prop
// prop or prop
// prop and prop
// seq |-> prop
// seq |=> prop
// if (expr) prop [else prop]
// prop until prop
// prop implies prop
// prop iff prop
// accept_on (expr) prop
// reject_on (expr) prop
//
// seq:
// expr
// expr ##N seq
// expr ##[N:M] seq
// seq or seq
// seq and seq
// seq intersect seq
// first_match (seq)
// expr throughout seq
// seq within seq
// seq [*N]
// seq [*N:M]
// expr [=N]
// expr [=N:M]
// expr [->N]
// expr [->N:M]
#include "kernel/yosys.h"
#include "frontends/verific/verific.h"