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

    assign x_max = 121;

    always @ (*)
        case (x)
        0: y = 16'b0000000000000000;
        1: y = 16'b0000011010010111;
        2: y = 16'b0000110100101001;
        3: y = 16'b0001001110110011;
        4: y = 16'b0001101000101111;
        5: y = 16'b0010000010011001;
        6: y = 16'b0010011011101101;
        7: y = 16'b0010110100100111;
        8: y = 16'b0011001101000010;
        9: y = 16'b0011100100111010;
        10: y = 16'b0011111100001011;
        11: y = 16'b0100010010110010;
        12: y = 16'b0100101000101010;
        13: y = 16'b0100111101110000;
        14: y = 16'b0101010001111111;
        15: y = 16'b0101100101010110;
        16: y = 16'b0101110111101111;
        17: y = 16'b0110001001001001;
        18: y = 16'b0110011001100000;
        19: y = 16'b0110101000110010;
        20: y = 16'b0110110110111100;
        21: y = 16'b0111000011111011;
        22: y = 16'b0111001111101101;
        23: y = 16'b0111011010010001;
        24: y = 16'b0111100011100100;
        25: y = 16'b0111101011100101;
        26: y = 16'b0111110010010011;
        27: y = 16'b0111110111101100;
        28: y = 16'b0111111011110000;
        29: y = 16'b0111111110011101;
        30: y = 16'b0111111111110100;
        31: y = 16'b0111111111110100;
        32: y = 16'b0111111110011101;
        33: y = 16'b0111111011110000;
        34: y = 16'b0111110111101100;
        35: y = 16'b0111110010010011;
        36: y = 16'b0111101011100101;
        37: y = 16'b0111100011100100;
        38: y = 16'b0111011010010001;
        39: y = 16'b0111001111101101;
        40: y = 16'b0111000011111011;
        41: y = 16'b0110110110111100;
        42: y = 16'b0110101000110010;
        43: y = 16'b0110011001100000;
        44: y = 16'b0110001001001001;
        45: y = 16'b0101110111101111;
        46: y = 16'b0101100101010110;
        47: y = 16'b0101010001111111;
        48: y = 16'b0100111101110000;
        49: y = 16'b0100101000101010;
        50: y = 16'b0100010010110010;
        51: y = 16'b0011111100001011;
        52: y = 16'b0011100100111010;
        53: y = 16'b0011001101000010;
        54: y = 16'b0010110100100111;
        55: y = 16'b0010011011101101;
        56: y = 16'b0010000010011001;
        57: y = 16'b0001101000101111;
        58: y = 16'b0001001110110011;
        59: y = 16'b0000110100101001;
        60: y = 16'b0000011010010111;
        61: y = 16'b0000000000000000;
        62: y = 16'b1111100101101001;
        63: y = 16'b1111001011010111;
        64: y = 16'b1110110001001101;
        65: y = 16'b1110010111010001;
        66: y = 16'b1101111101100111;
        67: y = 16'b1101100100010011;
        68: y = 16'b1101001011011001;
        69: y = 16'b1100110010111110;
        70: y = 16'b1100011011000110;
        71: y = 16'b1100000011110101;
        72: y = 16'b1011101101001110;
        73: y = 16'b1011010111010110;
        74: y = 16'b1011000010010000;
        75: y = 16'b1010101110000001;
        76: y = 16'b1010011010101010;
        77: y = 16'b1010001000010001;
        78: y = 16'b1001110110110111;
        79: y = 16'b1001100110100000;
        80: y = 16'b1001010111001110;
        81: y = 16'b1001001001000100;
        82: y = 16'b1000111100000101;
        83: y = 16'b1000110000010011;
        84: y = 16'b1000100101101111;
        85: y = 16'b1000011100011100;
        86: y = 16'b1000010100011011;
        87: y = 16'b1000001101101101;
        88: y = 16'b1000001000010100;
        89: y = 16'b1000000100010000;
        90: y = 16'b1000000001100011;
        91: y = 16'b1000000000001100;
        92: y = 16'b1000000000001100;
        93: y = 16'b1000000001100011;
        94: y = 16'b1000000100010000;
        95: y = 16'b1000001000010100;
        96: y = 16'b1000001101101101;
        97: y = 16'b1000010100011011;
        98: y = 16'b1000011100011100;
        99: y = 16'b1000100101101111;
        100: y = 16'b1000110000010011;
        101: y = 16'b1000111100000101;
        102: y = 16'b1001001001000100;
        103: y = 16'b1001010111001110;
        104: y = 16'b1001100110100000;
        105: y = 16'b1001110110110111;
        106: y = 16'b1010001000010001;
        107: y = 16'b1010011010101010;
        108: y = 16'b1010101110000001;
        109: y = 16'b1011000010010000;
        110: y = 16'b1011010111010110;
        111: y = 16'b1011101101001110;
        112: y = 16'b1100000011110101;
        113: y = 16'b1100011011000110;
        114: y = 16'b1100110010111110;
        115: y = 16'b1101001011011001;
        116: y = 16'b1101100100010011;
        117: y = 16'b1101111101100111;
        118: y = 16'b1110010111010001;
        119: y = 16'b1110110001001101;
        120: y = 16'b1111001011010111;
        121: y = 16'b1111100101101001;
        default: y = 16'b0;
        endcase

endmodule