module a; integer c,i,j,x,y; initial begin for (i=0;i<10;i=i+1) begin x = 0; for (j=0;j<8;j=j+1) begin x = x * 2 + $fgetc(32'h8000_0000) - 48; end $write("%d\n", x); end end endmodule