Last active
February 18, 2025 11:57
-
-
Save thotypous/30b6a5092a659856061cf1070fa328eb to your computer and use it in GitHub Desktop.
Revisions
-
thotypous revised this gist
Feb 18, 2025 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,7 +3,7 @@ mode cover depth 20 [engines] smtbmc yices [script] read -formal top.v -
thotypous revised this gist
Feb 17, 2025 . No changes.There are no files selected for viewing
-
thotypous created this gist
Feb 17, 2025 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,13 @@ [options] mode cover depth 20 [engines] smtbmc z3 [script] read -formal top.v prep -top top [files] top.v This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,17 @@ module top(input clk); reg [31:0] i; reg [31:0] j; initial begin i = 0; // if we do not set an initial value for j, the tool will find a value such that the cover statement below is SAT end always @(posedge clk) begin i <= i + 1; j <= j + j; cover (i == 3 && j == 32); end endmodule