Question
for the below 8-bit Shift-Left Register with Positive-Edge Clock, Serial In and Serial Out. Start with all ones after the 8th=bit shifted to the left all zeros. module left_shifter(SHIFTEN, DIN, DOUT); input SHIFTEN,DIN; output DOUT; reg [7:0] tmp; always @(posedge SHIFTEN) begin tmp <= tmp << 1; tmp[0] <= DIN; end assign DOUT = tmp[7]; endmodule
Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"
![](https://sp-ao.shortpixel.ai/client/to_webp,q_glossy,ret_img,w_320,h_80/http://academicheroes.com/wp-content/uploads/2018/09/order_now.png)