aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hana/test_intermout_exprs_binlogic_test.v
diff options
context:
space:
mode:
Diffstat (limited to 'tests/hana/test_intermout_exprs_binlogic_test.v')
-rw-r--r--tests/hana/test_intermout_exprs_binlogic_test.v13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/hana/test_intermout_exprs_binlogic_test.v b/tests/hana/test_intermout_exprs_binlogic_test.v
new file mode 100644
index 000000000..eec8c4b1a
--- /dev/null
+++ b/tests/hana/test_intermout_exprs_binlogic_test.v
@@ -0,0 +1,13 @@
+module test(in1, in2, vin1, vin2, out, vout, vin3, vin4, vout1 );
+input in1, in2;
+input [1:0] vin1;
+input [3:0] vin2;
+input [1:0] vin3;
+input [3:0] vin4;
+output vout, vout1;
+output out;
+
+assign out = in1 && in2;
+assign vout = vin1 && vin2;
+assign vout1 = vin3 || vin4;
+endmodule