14 lines
176 B
Verilog
14 lines
176 B
Verilog
|
|
module spectrum(
|
||
|
|
input CLOCK_50,
|
||
|
|
output reg[7:0] LED
|
||
|
|
);
|
||
|
|
|
||
|
|
reg[27:0] counter;
|
||
|
|
|
||
|
|
always @(posedge CLOCK_50)
|
||
|
|
begin
|
||
|
|
counter <= counter + 1;
|
||
|
|
LED <= counter[27:21];
|
||
|
|
end
|
||
|
|
|
||
|
|
endmodule
|