aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hana/test_intermout_exprs_varshift_test.v
blob: 2ca35c0911c102389f639afa000606a3f0e27439 (plain)
1
2
3
4
5
6
7
8
9
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