3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-07-24 13:18:56 +00:00

Added smtbmc.py

This commit is contained in:
Clifford Wolf 2015-10-13 17:17:23 +02:00
parent 3a22b31bda
commit 29160525aa
4 changed files with 409 additions and 0 deletions

11
backends/smt2/example.v Normal file
View file

@ -0,0 +1,11 @@
module main(input clk);
reg [3:0] counter = 0;
always @(posedge clk) begin
if (counter == 10)
counter <= 0;
else
counter <= counter + 1;
end
assert property (counter != 15);
// assert property (counter <= 10);
endmodule