3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-08-07 11:41:23 +00:00

Improve docs for verific bindings, add simply sby example

This commit is contained in:
Clifford Wolf 2017-07-22 11:58:51 +02:00
parent b3bc7068d1
commit 2785aaffeb
5 changed files with 89 additions and 48 deletions

View file

@ -0,0 +1,18 @@
module top (
input clk, rst,
output reg [3:0] cnt
);
initial cnt = 0;
always @(posedge clk) begin
if (rst)
cnt <= 0;
else
cnt <= cnt + 4'd 1;
end
always @(posedge clk) begin
assume (cnt != 10);
assert (cnt != 15);
end
endmodule