module lut_E
(
    input      [7:0] x,
    output     [7:0] x_max,
    output reg [15:0] y
);

    assign x_max = 144;

    always @ (*)
        case (x)
        0: y = 16'b0000000000000000;
        1: y = 16'b0000010110001011;
        2: y = 16'b0000101100010100;
        3: y = 16'b0001000010011000;
        4: y = 16'b0001011000010011;
        5: y = 16'b0001101110000100;
        6: y = 16'b0010000011101000;
        7: y = 16'b0010011000111011;
        8: y = 16'b0010101101111101;
        9: y = 16'b0011000010101001;
        10: y = 16'b0011010110111111;
        11: y = 16'b0011101010111010;
        12: y = 16'b0011111110011001;
        13: y = 16'b0100010001011001;
        14: y = 16'b0100100011111001;
        15: y = 16'b0100110101110110;
        16: y = 16'b0101000111001101;
        17: y = 16'b0101010111111101;
        18: y = 16'b0101101000000100;
        19: y = 16'b0101110111011111;
        20: y = 16'b0110000110001110;
        21: y = 16'b0110010100001101;
        22: y = 16'b0110100001011100;
        23: y = 16'b0110101101111001;
        24: y = 16'b0110111001100010;
        25: y = 16'b0111000100010110;
        26: y = 16'b0111001110010100;
        27: y = 16'b0111010111011010;
        28: y = 16'b0111011111100111;
        29: y = 16'b0111100110111011;
        30: y = 16'b0111101101010101;
        31: y = 16'b0111110010110011;
        32: y = 16'b0111110111010101;
        33: y = 16'b0111111010111011;
        34: y = 16'b0111111101100011;
        35: y = 16'b0111111111001111;
        36: y = 16'b0111111111111101;
        37: y = 16'b0111111111101110;
        38: y = 16'b0111111110100001;
        39: y = 16'b0111111100010111;
        40: y = 16'b0111111001001111;
        41: y = 16'b0111110101001011;
        42: y = 16'b0111110000001011;
        43: y = 16'b0111101010001111;
        44: y = 16'b0111100011011001;
        45: y = 16'b0111011011101000;
        46: y = 16'b0111010010111110;
        47: y = 16'b0111001001011100;
        48: y = 16'b0110111111000011;
        49: y = 16'b0110110011110100;
        50: y = 16'b0110100111110001;
        51: y = 16'b0110011010111011;
        52: y = 16'b0110001101010011;
        53: y = 16'b0101111110111100;
        54: y = 16'b0101101111110111;
        55: y = 16'b0101100000000110;
        56: y = 16'b0101001111101010;
        57: y = 16'b0100111110100110;
        58: y = 16'b0100101100111100;
        59: y = 16'b0100011010101110;
        60: y = 16'b0100000111111101;
        61: y = 16'b0011110100101101;
        62: y = 16'b0011100001000000;
        63: y = 16'b0011001100110111;
        64: y = 16'b0010111000010110;
        65: y = 16'b0010100011011111;
        66: y = 16'b0010001110010100;
        67: y = 16'b0001111000111000;
        68: y = 16'b0001100011001101;
        69: y = 16'b0001001101010111;
        70: y = 16'b0000110111010111;
        71: y = 16'b0000100001010000;
        72: y = 16'b0000001011000110;
        73: y = 16'b1111110100111010;
        74: y = 16'b1111011110110000;
        75: y = 16'b1111001000101001;
        76: y = 16'b1110110010101001;
        77: y = 16'b1110011100110011;
        78: y = 16'b1110000111001000;
        79: y = 16'b1101110001101100;
        80: y = 16'b1101011100100001;
        81: y = 16'b1101000111101010;
        82: y = 16'b1100110011001001;
        83: y = 16'b1100011111000000;
        84: y = 16'b1100001011010011;
        85: y = 16'b1011111000000011;
        86: y = 16'b1011100101010010;
        87: y = 16'b1011010011000100;
        88: y = 16'b1011000001011010;
        89: y = 16'b1010110000010110;
        90: y = 16'b1010011111111010;
        91: y = 16'b1010010000001001;
        92: y = 16'b1010000001000100;
        93: y = 16'b1001110010101101;
        94: y = 16'b1001100101000101;
        95: y = 16'b1001011000001111;
        96: y = 16'b1001001100001100;
        97: y = 16'b1001000000111101;
        98: y = 16'b1000110110100100;
        99: y = 16'b1000101101000010;
        100: y = 16'b1000100100011000;
        101: y = 16'b1000011100100111;
        102: y = 16'b1000010101110001;
        103: y = 16'b1000001111110101;
        104: y = 16'b1000001010110101;
        105: y = 16'b1000000110110001;
        106: y = 16'b1000000011101001;
        107: y = 16'b1000000001011111;
        108: y = 16'b1000000000010010;
        109: y = 16'b1000000000000011;
        110: y = 16'b1000000000110001;
        111: y = 16'b1000000010011101;
        112: y = 16'b1000000101000101;
        113: y = 16'b1000001000101011;
        114: y = 16'b1000001101001101;
        115: y = 16'b1000010010101011;
        116: y = 16'b1000011001000101;
        117: y = 16'b1000100000011001;
        118: y = 16'b1000101000100110;
        119: y = 16'b1000110001101100;
        120: y = 16'b1000111011101010;
        121: y = 16'b1001000110011110;
        122: y = 16'b1001010010000111;
        123: y = 16'b1001011110100100;
        124: y = 16'b1001101011110011;
        125: y = 16'b1001111001110010;
        126: y = 16'b1010001000100001;
        127: y = 16'b1010010111111100;
        128: y = 16'b1010101000000011;
        129: y = 16'b1010111000110011;
        130: y = 16'b1011001010001010;
        131: y = 16'b1011011100000111;
        132: y = 16'b1011101110100111;
        133: y = 16'b1100000001100111;
        134: y = 16'b1100010101000110;
        135: y = 16'b1100101001000001;
        136: y = 16'b1100111101010111;
        137: y = 16'b1101010010000011;
        138: y = 16'b1101100111000101;
        139: y = 16'b1101111100011000;
        140: y = 16'b1110010001111100;
        141: y = 16'b1110100111101101;
        142: y = 16'b1110111101101000;
        143: y = 16'b1111010011101100;
        144: y = 16'b1111101001110101;
        default: y = 16'b0;
        endcase

endmodule