by@progrunner17
WA
`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 ( c != 10)begin d = (c - 48) * i; i *= 2; c = $fgetc(`STDIN); end $write("%d", d); c = $fgetc(`STDIN); end end endmodule
10101011 11100100 10111110 00110111 00000011 00110001 11101010 11010010 10011000 11111101 11111110 01100111 11100110 00001111 11100111 00101000 00101110 11101100 01101000 00000001 00101101 10001000 00010101 00001100 01000001 00011100 01010111 00000000 01101011 01001100 01011011 10011001 10100011 00000110 10000010 01000010 11011001 00000011 10101000 01111000 00011100 00110100 10000111 01101001 00110110 00101100 00100100 01111010 01001110 00001010
/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