by@progrunner17
AC
`define S 32'h8000_0000 module cat;integer c,i,d;initial begin c=$fgetc(`S);while(!(&c))begin d=0;i=1;while(c==48||c==49)begin d=d*2;d=d+c-48;c=$fgetc(`S);end i=1;while(d>0)begin d=d-i;i=i+1;end if(d==0)begin $write("%d ",1);end else begin $write("%d ",0);end c=$fgetc(`S);end end endmodule
00111011 01100100 11110101 10011001 00000110 00010101 11111101 01010100 01001110 01101001 01011011 00101101 10100100 01000010 01011101 00000011 00100111 11010010 01111111 10111110 00011100 01011011 11101111 11011010 00110111 00111101 00001100 11010100 01111000 11010011 00000100 00001111 00000000 11100111 01111011 00000001 10101011 01101111 10011001 01101010 00100100 11001000 10001000 11010001 00100101 10010010 00011010 11110110 00001010 11111010
0 0 0 1 1 1 1 0 1 1 1 1 0 1 0 1 0 1 0 1 1 1 0 0 1 0 0 0 1 0 0 1 1 1 0 1 1 0 1 0 1 0 1 0 0 0 0 0 1 0