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

    assign x_max = 108;

    always @ (*)
        case (x)
        0: y = 16'b0000000000000000;
        1: y = 16'b0000011101100000;
        2: y = 16'b0000111010111001;
        3: y = 16'b0001011000000110;
        4: y = 16'b0001110101000001;
        5: y = 16'b0010010001100010;
        6: y = 16'b0010101101100100;
        7: y = 16'b0011001001000010;
        8: y = 16'b0011100011110101;
        9: y = 16'b0011111101110111;
        10: y = 16'b0100010111000011;
        11: y = 16'b0100101111010100;
        12: y = 16'b0101000110100101;
        13: y = 16'b0101011100110000;
        14: y = 16'b0101110001110001;
        15: y = 16'b0110000101100100;
        16: y = 16'b0110011000000011;
        17: y = 16'b0110101001001100;
        18: y = 16'b0110111000111010;
        19: y = 16'b0111000111001011;
        20: y = 16'b0111010011111011;
        21: y = 16'b0111011111000111;
        22: y = 16'b0111101000101110;
        23: y = 16'b0111110000101101;
        24: y = 16'b0111110111000010;
        25: y = 16'b0111111011101100;
        26: y = 16'b0111111110101010;
        27: y = 16'b0111111111111100;
        28: y = 16'b0111111111100000;
        29: y = 16'b0111111101011000;
        30: y = 16'b0111111001100100;
        31: y = 16'b0111110100000100;
        32: y = 16'b0111101100111010;
        33: y = 16'b0111100100001000;
        34: y = 16'b0111011001101110;
        35: y = 16'b0111001101101111;
        36: y = 16'b0111000000001111;
        37: y = 16'b0110110001001111;
        38: y = 16'b0110100000110011;
        39: y = 16'b0110001110111110;
        40: y = 16'b0101111011110100;
        41: y = 16'b0101100111011010;
        42: y = 16'b0101010001110100;
        43: y = 16'b0100111011000101;
        44: y = 16'b0100100011010100;
        45: y = 16'b0100001010100100;
        46: y = 16'b0011110000111100;
        47: y = 16'b0011010110100001;
        48: y = 16'b0010111011011000;
        49: y = 16'b0010011111100111;
        50: y = 16'b0010000011010101;
        51: y = 16'b0001100110100110;
        52: y = 16'b0001001001100010;
        53: y = 16'b0000101100001110;
        54: y = 16'b0000001110110000;
        55: y = 16'b1111110001010000;
        56: y = 16'b1111010011110010;
        57: y = 16'b1110110110011110;
        58: y = 16'b1110011001011010;
        59: y = 16'b1101111100101011;
        60: y = 16'b1101100000011001;
        61: y = 16'b1101000100101000;
        62: y = 16'b1100101001011111;
        63: y = 16'b1100001111000100;
        64: y = 16'b1011110101011100;
        65: y = 16'b1011011100101100;
        66: y = 16'b1011000100111011;
        67: y = 16'b1010101110001100;
        68: y = 16'b1010011000100110;
        69: y = 16'b1010000100001100;
        70: y = 16'b1001110001000010;
        71: y = 16'b1001011111001101;
        72: y = 16'b1001001110110001;
        73: y = 16'b1000111111110001;
        74: y = 16'b1000110010010001;
        75: y = 16'b1000100110010010;
        76: y = 16'b1000011011111000;
        77: y = 16'b1000010011000110;
        78: y = 16'b1000001011111100;
        79: y = 16'b1000000110011100;
        80: y = 16'b1000000010101000;
        81: y = 16'b1000000000100000;
        82: y = 16'b1000000000000100;
        83: y = 16'b1000000001010110;
        84: y = 16'b1000000100010100;
        85: y = 16'b1000001000111110;
        86: y = 16'b1000001111010011;
        87: y = 16'b1000010111010010;
        88: y = 16'b1000100000111001;
        89: y = 16'b1000101100000101;
        90: y = 16'b1000111000110101;
        91: y = 16'b1001000111000110;
        92: y = 16'b1001010110110100;
        93: y = 16'b1001100111111101;
        94: y = 16'b1001111010011100;
        95: y = 16'b1010001110001111;
        96: y = 16'b1010100011010000;
        97: y = 16'b1010111001011011;
        98: y = 16'b1011010000101100;
        99: y = 16'b1011101000111101;
        100: y = 16'b1100000010001001;
        101: y = 16'b1100011100001011;
        102: y = 16'b1100110110111110;
        103: y = 16'b1101010010011100;
        104: y = 16'b1101101110011110;
        105: y = 16'b1110001010111111;
        106: y = 16'b1110100111111010;
        107: y = 16'b1111000101000111;
        108: y = 16'b1111100010100000;
        default: y = 16'b0;
        endcase

endmodule