top.v 246 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11
module top    (
out,
clk,
in
);
    output [7:0] out;
    input clk, in;
    reg [7:0] out;

    always @(posedge clk)
	begin
SergeyDegtyar committed
12
`ifndef BUG
13 14
		out    <= out << 1;
		out[0] <= in;
SergeyDegtyar committed
15 16 17
`else
	out <= 8'bZZZZZZZZ;
`endif
18 19 20
	end

endmodule