From 77ffdd7fd4e90e0da43e81b1f5e021b08ee64a9f Mon Sep 17 00:00:00 2001 From: Alessandro Comodi Date: Fri, 12 Mar 2021 13:53:09 +0100 Subject: fpga_interchange: tests: add cmake functions Also move all tests in a tests directory Signed-off-by: Alessandro Comodi --- fpga_interchange/examples/counter/counter.v | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 fpga_interchange/examples/counter/counter.v (limited to 'fpga_interchange/examples/counter/counter.v') 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 -- cgit v1.2.3