diff options
Diffstat (limited to 'tests/hana/test_intermout_exprs_varshift_test.v')
-rw-r--r-- | tests/hana/test_intermout_exprs_varshift_test.v | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/hana/test_intermout_exprs_varshift_test.v b/tests/hana/test_intermout_exprs_varshift_test.v new file mode 100644 index 000000000..2ca35c091 --- /dev/null +++ b/tests/hana/test_intermout_exprs_varshift_test.v @@ -0,0 +1,10 @@ +module test(vin0, vout0); +input [2:0] vin0; +output reg [7:0] vout0; + +wire [7:0] myreg0, myreg1, myreg2; +integer i; +assign myreg0 = vout0 << vin0; + +assign myreg1 = myreg2 >> i; +endmodule |