Sign in
foss-fpga-tools
/
third_party
/
Surelog
/
356a4bf2123fc606ca19fbed9b9c535f149fdec5
/
.
/
SVIncCompil
/
Testcases
/
YosysTests
/
regression
/
issue_00689
/
top.v
blob: ae3869b958f53fe62ae8bad07ecdc4e689782236 [
file
] [
log
] [
blame
]
module
top
(
clk
,
in
,
out
);
parameter DEPTH
=
10
;
input wire clk
,
in
;
output reg
out
;
(*
anyseq
*)
reg
[
1
:
0
]
X
;
always
@(
posedge clk
)
begin
assert
(
$rose
(
in
)
==
((
in
)&&(!
$past
(
in
))));
assert
(
$fell
(
in
)
==
((!
in
)&&(
$past
(
in
))));
end
endmodule