by@progrunner17
WA
`define EOF 32'hFFFF_FFFF `define STDIN 32'h8000_0000 module cat; integer c,d,i; initial begin c = $fgetc(`STDIN); i = 0; d = 0; while (c != `EOF) begin i = 1; while( c != 10)begin d += (c - 48) * i; i = i * 2; c = $fgetc(`STDIN); end $write("%d", c); c = $fgetc(`STDIN); end end endmodule
01000001 11100001 10011001 11100011 11011000 01101001 11111011 01001110 10101101 00001010 00100110 00000000 11110010 00000011 10101011 00010101 00010100 10111110 01101100 11010100 11111101 00110111 00111100 01110111 00100100 01000010 10111010 00100111 01001000 01111000 10111111 11010010 01001110 10101000 00000001 11100111 00101101 01100110 01010101 10001000 10000000 00000110 00100011 00001111 11010010 01011110 00011100 01001100 01011011 10101001
/volume/CODE:13: syntax error /volume/CODE:13: Syntax in assignment statement l-value. /home/esolang/bin/verilog: line 4: /tmp/code: No such file or directory rm: cannot remove '/tmp/code': No such file or directory