Sign in
foss-fpga-tools
/
third_party
/
yosys
/
4c2d62821394896d5c4fdfccc496421822a3d1a2
/
.
/
tests
/
simple
/
always02.v
blob: 8c7ef0fb5d0045d8c8dd9a377e91be3f6b9acc6d [
file
]
module
uut_always02
(
clock
,
reset
,
count
);
input clock
,
reset
;
output
[
3
:
0
]
count
;
reg
[
3
:
0
]
count
;
always
@(
posedge clock
)
begin
count
<=
count
+
1
;
if
(
reset
)
count
<=
0
;
end
endmodule