Result

WA

Code [DL]

`define EOF 32'hFFFF_FFFF
`define STDIN 32'h8000_0000

module cat;
	integer c,i,d;
	initial begin
		c = $fgetc(`STDIN);
		i = 1;
		d = 0;
		while (c != `EOF) begin
			while ( i < 256)begin
				d = d + (c - 48) * i;
				i =  i * 2;
				c = $fgetc(`STDIN);
			end
		    	$write(%d\n, d);

			i = 1;
			while(d > 0)begin 
				d = d - i;
				i = i + 1;
			end

			if ( d == 0)begin
				// $write("%c\n", "0");
		    end else begin
		    	// $write("%c\n", "1");
		    end
			c = $fgetc(`STDIN);
			d = 0;
			i = 1;
		end
	end
endmodule

stdin

10011101
10000100
10100100
00100100
00110000
11111101
11000111
01111000
10101011
11011111
01101001
10101101
01101001
11000110
00001010
10011001
01011011
11100111
00001100
00011100
10010110
01000010
11010010
01010001
00111110
11000011
00110111
00000110
00001011
00010101
10111010
00011011
00000000
11000101
00000001
01110010
01001110
10101010
00010100
11011110
10001000
00111001
00101101
11000010
10111110
01001010
00001111
00000011
00110111
01110101

stdout

stderr

/volume/CODE:16: syntax error
/volume/CODE:16: error: malformed statement
/home/esolang/bin/verilog: line 4: /tmp/code: No such file or directory
rm: cannot remove '/tmp/code': No such file or directory

strace