diff options
Diffstat (limited to 'tests/hana/test_intermout_exprs_constshift_test.v')
-rw-r--r-- | tests/hana/test_intermout_exprs_constshift_test.v | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/hana/test_intermout_exprs_constshift_test.v b/tests/hana/test_intermout_exprs_constshift_test.v new file mode 100644 index 000000000..eb21315d7 --- /dev/null +++ b/tests/hana/test_intermout_exprs_constshift_test.v @@ -0,0 +1,12 @@ +module test(in, out, vin, vout, vin1, vout1, vin2, vout2); + +input in; +input [3:0] vin, vin1, vin2; +output [3:0] vout, vout1, vout2; +output out; + +assign out = in << 1; +assign vout = vin << 2; +assign vout1 = vin1 >> 2; +assign vout2 = vin2 >>> 2; +endmodule |