From 16fff90607b77685272fd61e65831cc1eb2d0399 Mon Sep 17 00:00:00 2001 From: tangxifan Date: Thu, 6 May 2021 15:17:27 -0600 Subject: [PATCH] [Benchmark] Add microbenchmark 1-bit blinking --- .../micro_benchmark/blinking/blinking.v | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 openfpga_flow/benchmarks/micro_benchmark/blinking/blinking.v diff --git a/openfpga_flow/benchmarks/micro_benchmark/blinking/blinking.v b/openfpga_flow/benchmarks/micro_benchmark/blinking/blinking.v new file mode 100644 index 000000000..b8587055c --- /dev/null +++ b/openfpga_flow/benchmarks/micro_benchmark/blinking/blinking.v @@ -0,0 +1,17 @@ +// ------------------------------ +// Design Name: Blinking +// Functionality: 1-bit blinking +// ------------------------------ +module blinking( + clk, + out +); + +input clk; +output out; + + always @(posedge clk) begin + out = ~out; + end + +endmodule