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

    assign x_max = 96;

    always @ (*)
        case (x)
        0: y = 16'b0000000000000000;
        1: y = 16'b0000100001001001;
        2: y = 16'b0001000010001001;
        3: y = 16'b0001100010110111;
        4: y = 16'b0010000011001011;
        5: y = 16'b0010100010111100;
        6: y = 16'b0011000010000001;
        7: y = 16'b0011100000010010;
        8: y = 16'b0011111101100110;
        9: y = 16'b0100011001110111;
        10: y = 16'b0100110100111011;
        11: y = 16'b0101001110101101;
        12: y = 16'b0101100111000101;
        13: y = 16'b0101111101111101;
        14: y = 16'b0110010011001110;
        15: y = 16'b0110100110110011;
        16: y = 16'b0110111000100111;
        17: y = 16'b0111001000100100;
        18: y = 16'b0111010110100110;
        19: y = 16'b0111100010101010;
        20: y = 16'b0111101100101101;
        21: y = 16'b0111110100101100;
        22: y = 16'b0111111010100100;
        23: y = 16'b0111111110010100;
        24: y = 16'b0111111111111011;
        25: y = 16'b0111111111011000;
        26: y = 16'b0111111100101101;
        27: y = 16'b0111110111111001;
        28: y = 16'b0111110000111101;
        29: y = 16'b0111100111111100;
        30: y = 16'b0111011100111000;
        31: y = 16'b0111001111110101;
        32: y = 16'b0111000000110100;
        33: y = 16'b0110101111111011;
        34: y = 16'b0110011101001111;
        35: y = 16'b0110001000110011;
        36: y = 16'b0101110010101110;
        37: y = 16'b0101011011000101;
        38: y = 16'b0101000001111111;
        39: y = 16'b0100100111100011;
        40: y = 16'b0100001011110111;
        41: y = 16'b0011101111000100;
        42: y = 16'b0011010001010000;
        43: y = 16'b0010110010100100;
        44: y = 16'b0010010011001001;
        45: y = 16'b0001110011000101;
        46: y = 16'b0001010010100011;
        47: y = 16'b0000110001101011;
        48: y = 16'b0000010000100101;
        49: y = 16'b1111101111011011;
        50: y = 16'b1111001110010101;
        51: y = 16'b1110101101011101;
        52: y = 16'b1110001100111011;
        53: y = 16'b1101101100110111;
        54: y = 16'b1101001101011100;
        55: y = 16'b1100101110110000;
        56: y = 16'b1100010000111100;
        57: y = 16'b1011110100001001;
        58: y = 16'b1011011000011101;
        59: y = 16'b1010111110000001;
        60: y = 16'b1010100100111011;
        61: y = 16'b1010001101010010;
        62: y = 16'b1001110111001101;
        63: y = 16'b1001100010110001;
        64: y = 16'b1001010000000101;
        65: y = 16'b1000111111001100;
        66: y = 16'b1000110000001011;
        67: y = 16'b1000100011001000;
        68: y = 16'b1000011000000100;
        69: y = 16'b1000001111000011;
        70: y = 16'b1000001000000111;
        71: y = 16'b1000000011010011;
        72: y = 16'b1000000000101000;
        73: y = 16'b1000000000000101;
        74: y = 16'b1000000001101100;
        75: y = 16'b1000000101011100;
        76: y = 16'b1000001011010100;
        77: y = 16'b1000010011010011;
        78: y = 16'b1000011101010110;
        79: y = 16'b1000101001011010;
        80: y = 16'b1000110111011100;
        81: y = 16'b1001000111011001;
        82: y = 16'b1001011001001101;
        83: y = 16'b1001101100110010;
        84: y = 16'b1010000010000011;
        85: y = 16'b1010011000111011;
        86: y = 16'b1010110001010011;
        87: y = 16'b1011001011000101;
        88: y = 16'b1011100110001001;
        89: y = 16'b1100000010011010;
        90: y = 16'b1100011111101110;
        91: y = 16'b1100111101111111;
        92: y = 16'b1101011101000100;
        93: y = 16'b1101111100110101;
        94: y = 16'b1110011101001001;
        95: y = 16'b1110111101110111;
        96: y = 16'b1111011110110111;
        default: y = 16'b0;
        endcase

endmodule