Sign in
◑
Theme
foss-fpga-tools
/
third_party
/
yosys
/
bb0851bfc52455f2d93ee878f1876a691564b4ed
/
.
/
frontends
/
verific
/
example.sv
blob: 21a5d42c85c1100c5013bfa02244defd62f74295 [
file
]
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