3
0
Fork 0
mirror of https://github.com/YosysHQ/sby.git synced 2026-04-28 00:43:36 +00:00

Add docs/examples/abstract

Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
Clifford Wolf 2019-03-27 14:45:30 +01:00
parent f918e2369a
commit afe6960ffe
6 changed files with 124 additions and 0 deletions

View file

@ -0,0 +1,16 @@
module demo_props (
input clock, reset,
input A, B, C, D
);
default clocking @(posedge clock); endclocking
default disable iff (reset);
assert property (A |-> !{B,C,D} [*] ##1 B);
assert property (B |-> !{A,C,D} [*] ##1 C);
assert property (C |-> !{A,B,D} [*] ##1 D);
assert property (D |-> !{A,B,C} [*] ##1 A);
cover property (A ##[+] B ##[+] C ##[+] D ##[+] A);
endmodule
bind demo demo_props demo_props_i (.*);