Sign in
◑
Theme
foss-fpga-tools
/
symbiflow-arch-defs
/
5c478b3bcb1929b3d5fd686c61cf2abf041f2268
/
.
/
tests
/
6-counter
/
counter.v
blob: 9ceee646c6caeda6b57278d22320bfa621623c46 [
file
]
module
top
(
input clk
,
output o
);
reg
[
2
:
0
]
counter
=
0
;
always
@(
posedge clk
)
counter
<=
counter
+
1
;
assign o
=
counter
[
2
];
endmodule