aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hana/test_simulation_always_22_test.v
diff options
context:
space:
mode:
Diffstat (limited to 'tests/hana/test_simulation_always_22_test.v')
-rw-r--r--tests/hana/test_simulation_always_22_test.v7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/hana/test_simulation_always_22_test.v b/tests/hana/test_simulation_always_22_test.v
new file mode 100644
index 000000000..8d91f8154
--- /dev/null
+++ b/tests/hana/test_simulation_always_22_test.v
@@ -0,0 +1,7 @@
+module inc(clock, counter);
+
+input clock;
+output reg [7:0] counter;
+always @(posedge clock)
+ counter <= counter + 1;
+endmodule