Sign in
foss-fpga-tools
/
symbiflow-arch-defs
/
refs/heads/bot-conda-lock-update
/
.
/
tests
/
6-counter
/
counter.v
blob: 9ceee646c6caeda6b57278d22320bfa621623c46 [
file
] [
log
] [
blame
] [
edit
]
module
top
(
input clk
,
output o
);
reg
[
2
:
0
]
counter
=
0
;
always
@(
posedge clk
)
counter
<=
counter
+
1
;
assign o
=
counter
[
2
];
endmodule