Sign in
foss-fpga-tools
/
symbiflow-arch-defs
/
refs/heads/bot-conda-lock-update
/
.
/
quicklogic
/
pp3
/
tests
/
ext_counter
/
ext_counter.v
blob: 25a3e4b7b254d8a500b0d2f0edd4e835fb798f81 [
file
] [
log
] [
blame
] [
edit
]
module
top
(
input wire clk
,
output wire
[
3
:
0
]
led
);
reg
[
23
:
0
]
cnt
;
initial cnt
<=
0
;
always
@(
posedge clk
)
cnt
<=
cnt
+
1
;
assign led
=
cnt
[
23
:
20
];
endmodule