3
0
Fork 0
mirror of https://github.com/YosysHQ/sby.git synced 2025-08-31 00:40:10 +00:00

Add formal_bind example

Demonstrate binding SVA properties to a VHDL design.
Mention example code (with snippets) in section on Verific.
This commit is contained in:
Krystine Sherwin 2024-03-05 15:29:08 +13:00
parent 5c649c8e75
commit 549c5f33f5
No known key found for this signature in database
5 changed files with 89 additions and 0 deletions

View file

@ -0,0 +1,10 @@
module formal_bind(input clk, rst, up, down, [3:0] count);
initial assume(rst);
assert property(@(posedge clk) count != 4'd15);
cover property(@(posedge clk) count == 4'd10);
endmodule
bind updowncount formal_bind fb_inst(.*);