URL
https://opencores.org/ocsvn/fpga-cf/fpga-cf/trunk
Subversion Repositories fpga-cf
[/] [fpga-cf/] [trunk/] [hdl/] [counting_led/] [counting_led.v] - Rev 8
Go to most recent revision | Compare with Previous | Blame | View Log
// Moving LED module module counting_led ( input clk, input rst, output [7:0] leds ); reg [7:0] count; always @(posedge clk) begin if (rst) count <= 0; else count <= count + 1; end assign leds = count; endmodule
Go to most recent revision | Compare with Previous | Blame | View Log