yosys/tests/hana/test_intermout_exprs_varshi...

11 lines
186 B
Coq
Raw Normal View History

2013-01-05 04:13:26 -06:00
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