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