Best writers. Best papers. Let professionals take care of your academic papers

Order a similar paper and get 15% discount on your first order with us
Use the following coupon "FIRST15"
ORDER NOW

Write a testbench stimulus 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.

Write a testbench stimulus 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"