Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
module div_2(in0,out0);
parameter k=6;
input [k-1:0] in0;
output [k-1:0] out0;
assign out0=in0>>1;
endmodule
Will the following be a correct code then for division by 2 of the input?