Sign in
◑
Theme
foss-fpga-tools
/
symbiflow-arch-defs
/
a57336f72e0f14540e29d5277a85148961ff62e6
/
.
/
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