Sign in
foss-fpga-tools
/
third_party
/
yosys
/
a3a7bb9bf7160d434db7a4737e68f6b015b221ef
/
.
/
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