aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hana/test_simulation_always_18_test.v
diff options
context:
space:
mode:
Diffstat (limited to 'tests/hana/test_simulation_always_18_test.v')
-rw-r--r--tests/hana/test_simulation_always_18_test.v10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/hana/test_simulation_always_18_test.v b/tests/hana/test_simulation_always_18_test.v
new file mode 100644
index 000000000..234407efd
--- /dev/null
+++ b/tests/hana/test_simulation_always_18_test.v
@@ -0,0 +1,10 @@
+module test (in1, in2, out);
+input in1, in2;
+output reg out;
+
+always @ ( in1 or in2)
+ if(in1 > in2)
+ out = in1;
+ else
+ out = in2;
+endmodule