diff options
Diffstat (limited to 'fpga_interchange/examples/counter/counter.v')
-rw-r--r-- | fpga_interchange/examples/counter/counter.v | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/fpga_interchange/examples/counter/counter.v b/fpga_interchange/examples/counter/counter.v deleted file mode 100644 index 00f52a20..00000000 --- a/fpga_interchange/examples/counter/counter.v +++ /dev/null @@ -1,15 +0,0 @@ -module top(input clk, input rst, output [7:4] io_led); - -reg [31:0] counter = 32'b0; - -assign io_led = counter >> 22; - -always @(posedge clk) -begin - if(rst) - counter <= 32'b0; - else - counter <= counter + 1; -end - -endmodule |