Sign in
foss-fpga-tools
/
third_party
/
yosys
/
b4ac539f48d1370133f2aa72d0df9ccd02a66d84
/
.
/
tests
/
arch
/
common
/
counter.v
blob: 9746fd701319a77ae4ea3c08bc8c0d37ee1fd28a [
file
] [
log
] [
blame
]
module
top
(
out
,
clk
,
reset
);
output
[
7
:
0
]
out
;
input clk
,
reset
;
reg
[
7
:
0
]
out
;
always
@(
posedge clk
,
posedge reset
)
if
(
reset
)
out
<=
8
'b0;
else
out <= out + 1;
endmodule