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