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

    assign x_max = 136;

    always @ (*)
        case (x)
        0: y = 16'b0000000000000000;
        1: y = 16'b0000010111011110;
        2: y = 16'b0000101110111001;
        3: y = 16'b0001000110001110;
        4: y = 16'b0001011101011001;
        5: y = 16'b0001110100011000;
        6: y = 16'b0010001011000111;
        7: y = 16'b0010100001100100;
        8: y = 16'b0010110111101010;
        9: y = 16'b0011001101011000;
        10: y = 16'b0011100010101011;
        11: y = 16'b0011110111011110;
        12: y = 16'b0100001011110001;
        13: y = 16'b0100011111011111;
        14: y = 16'b0100110010100111;
        15: y = 16'b0101000101000101;
        16: y = 16'b0101010110111000;
        17: y = 16'b0101100111111101;
        18: y = 16'b0101111000010001;
        19: y = 16'b0110000111110010;
        20: y = 16'b0110010110011111;
        21: y = 16'b0110100100010101;
        22: y = 16'b0110110001010010;
        23: y = 16'b0110111101010101;
        24: y = 16'b0111001000011101;
        25: y = 16'b0111010010100110;
        26: y = 16'b0111011011110001;
        27: y = 16'b0111100011111100;
        28: y = 16'b0111101011000110;
        29: y = 16'b0111110001001110;
        30: y = 16'b0111110110010011;
        31: y = 16'b0111111010010100;
        32: y = 16'b0111111101010001;
        33: y = 16'b0111111111001001;
        34: y = 16'b0111111111111101;
        35: y = 16'b0111111111101100;
        36: y = 16'b0111111110010110;
        37: y = 16'b0111111011111011;
        38: y = 16'b0111111000011100;
        39: y = 16'b0111110011111001;
        40: y = 16'b0111101110010010;
        41: y = 16'b0111100111101001;
        42: y = 16'b0111011111111111;
        43: y = 16'b0111010111010100;
        44: y = 16'b0111001101101001;
        45: y = 16'b0111000011000001;
        46: y = 16'b0110110111011011;
        47: y = 16'b0110101010111011;
        48: y = 16'b0110011101100001;
        49: y = 16'b0110001111001111;
        50: y = 16'b0110000000001000;
        51: y = 16'b0101110000001101;
        52: y = 16'b0101011111100000;
        53: y = 16'b0101001110000100;
        54: y = 16'b0100111011111011;
        55: y = 16'b0100101001001000;
        56: y = 16'b0100010101101101;
        57: y = 16'b0100000001101100;
        58: y = 16'b0011101101001000;
        59: y = 16'b0011011000000101;
        60: y = 16'b0011000010100101;
        61: y = 16'b0010101100101010;
        62: y = 16'b0010010110011000;
        63: y = 16'b0001111111110010;
        64: y = 16'b0001101000111011;
        65: y = 16'b0001010001110101;
        66: y = 16'b0000111010100101;
        67: y = 16'b0000100011001100;
        68: y = 16'b0000001011101111;
        69: y = 16'b1111110100010001;
        70: y = 16'b1111011100110100;
        71: y = 16'b1111000101011011;
        72: y = 16'b1110101110001011;
        73: y = 16'b1110010111000101;
        74: y = 16'b1110000000001110;
        75: y = 16'b1101101001101000;
        76: y = 16'b1101010011010110;
        77: y = 16'b1100111101011011;
        78: y = 16'b1100100111111011;
        79: y = 16'b1100010010111000;
        80: y = 16'b1011111110010100;
        81: y = 16'b1011101010010011;
        82: y = 16'b1011010110111000;
        83: y = 16'b1011000100000101;
        84: y = 16'b1010110001111100;
        85: y = 16'b1010100000100000;
        86: y = 16'b1010001111110011;
        87: y = 16'b1001111111111000;
        88: y = 16'b1001110000110001;
        89: y = 16'b1001100010011111;
        90: y = 16'b1001010101000101;
        91: y = 16'b1001001000100101;
        92: y = 16'b1000111100111111;
        93: y = 16'b1000110010010111;
        94: y = 16'b1000101000101100;
        95: y = 16'b1000100000000001;
        96: y = 16'b1000011000010111;
        97: y = 16'b1000010001101110;
        98: y = 16'b1000001100000111;
        99: y = 16'b1000000111100100;
        100: y = 16'b1000000100000101;
        101: y = 16'b1000000001101010;
        102: y = 16'b1000000000010100;
        103: y = 16'b1000000000000011;
        104: y = 16'b1000000000110111;
        105: y = 16'b1000000010101111;
        106: y = 16'b1000000101101100;
        107: y = 16'b1000001001101101;
        108: y = 16'b1000001110110010;
        109: y = 16'b1000010100111010;
        110: y = 16'b1000011100000100;
        111: y = 16'b1000100100001111;
        112: y = 16'b1000101101011010;
        113: y = 16'b1000110111100011;
        114: y = 16'b1001000010101011;
        115: y = 16'b1001001110101110;
        116: y = 16'b1001011011101011;
        117: y = 16'b1001101001100001;
        118: y = 16'b1001111000001110;
        119: y = 16'b1010000111101111;
        120: y = 16'b1010011000000011;
        121: y = 16'b1010101001001000;
        122: y = 16'b1010111010111011;
        123: y = 16'b1011001101011001;
        124: y = 16'b1011100000100001;
        125: y = 16'b1011110100001111;
        126: y = 16'b1100001000100010;
        127: y = 16'b1100011101010101;
        128: y = 16'b1100110010101000;
        129: y = 16'b1101001000010110;
        130: y = 16'b1101011110011100;
        131: y = 16'b1101110100111001;
        132: y = 16'b1110001011101000;
        133: y = 16'b1110100010100111;
        134: y = 16'b1110111001110010;
        135: y = 16'b1111010001000111;
        136: y = 16'b1111101000100010;
        default: y = 16'b0;
        endcase

endmodule