mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-11 13:40:53 +00:00
Add support for SVA throughout via Verific
This commit is contained in:
parent
17583b6a21
commit
6d12c83d36
2 changed files with 7 additions and 3 deletions
19
tests/sva/sva_throughout.sv
Normal file
19
tests/sva/sva_throughout.sv
Normal file
|
@ -0,0 +1,19 @@
|
|||
module top (
|
||||
input clk,
|
||||
input a, b, c, d
|
||||
);
|
||||
default clocking @(posedge clk); endclocking
|
||||
|
||||
assert property (
|
||||
a |=> b throughout (c ##1 d)
|
||||
);
|
||||
|
||||
`ifndef FAIL
|
||||
assume property (
|
||||
a |=> b && c
|
||||
);
|
||||
assume property (
|
||||
b && c |=> b && d
|
||||
);
|
||||
`endif
|
||||
endmodule
|
Loading…
Add table
Add a link
Reference in a new issue