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