Sign in
foss-fpga-tools
/
third_party
/
yosys
/
refs/heads/mwk/iopadmap-fixes
/
.
/
tests
/
simple
/
always02.v
blob: 8c7ef0fb5d0045d8c8dd9a377e91be3f6b9acc6d [
file
] [
log
] [
blame
] [
edit
]
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