aboutsummaryrefslogtreecommitdiffstats
path: root/fpga_interchange/examples/counter/counter.v
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-03-17 14:05:49 +0000
committerGitHub <noreply@github.com>2021-03-17 14:05:49 +0000
commit5feea4497f416eafdf54f34c2b9c67ddcef3f26f (patch)
treee92427a879159b38441e6b3fc4f0e45ebc75e579 /fpga_interchange/examples/counter/counter.v
parent701587241fb8d4b490c4998ab3f2590bc09d7f55 (diff)
parent01a95faf211d5947415ed6a9ea2b1fbedf1074cd (diff)
downloadnextpnr-5feea4497f416eafdf54f34c2b9c67ddcef3f26f.tar.gz
nextpnr-5feea4497f416eafdf54f34c2b9c67ddcef3f26f.tar.bz2
nextpnr-5feea4497f416eafdf54f34c2b9c67ddcef3f26f.zip
Merge pull request #619 from acomodi/add-cmake-infra-fpga-interchange
Add CMake infrastructure for fpga interchange
Diffstat (limited to 'fpga_interchange/examples/counter/counter.v')
-rw-r--r--fpga_interchange/examples/counter/counter.v15
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