aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hana/test_simulation_always_27_test.v
diff options
context:
space:
mode:
Diffstat (limited to 'tests/hana/test_simulation_always_27_test.v')
-rw-r--r--tests/hana/test_simulation_always_27_test.v13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/hana/test_simulation_always_27_test.v b/tests/hana/test_simulation_always_27_test.v
new file mode 100644
index 000000000..577378fd6
--- /dev/null
+++ b/tests/hana/test_simulation_always_27_test.v
@@ -0,0 +1,13 @@
+module FlipFlop(clock, cs, ns);
+input clock;
+input cs;
+output reg ns;
+reg temp;
+
+always @(posedge clock)
+begin
+ temp <= cs;
+ ns <= temp;
+end
+
+endmodule