mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-24 13:18:56 +00:00
Added smtbmc.py
This commit is contained in:
parent
3a22b31bda
commit
29160525aa
4 changed files with 409 additions and 0 deletions
11
backends/smt2/example.v
Normal file
11
backends/smt2/example.v
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue