blob: 1087b08c9a7b919f87b5ee740ca037dbe37cb0bb [file] [log] [blame] [edit]
module top (
out,
i,
clk,
o,
in
);
output [7:0] out;
input clk, in;
reg [7:0] out;
input i;
output o;
always @(posedge clk)
begin
out <= out << 1;
out[0] <= in;
end
endmodule