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

    assign x_max = 182;

    always @ (*)
        case (x)
        0: y = 16'b0000000000000000;
        1: y = 16'b0000010001100101;
        2: y = 16'b0000100011001000;
        3: y = 16'b0000110100101001;
        4: y = 16'b0001000110000110;
        5: y = 16'b0001010111011110;
        6: y = 16'b0001101000101111;
        7: y = 16'b0001111001111000;
        8: y = 16'b0010001010111000;
        9: y = 16'b0010011011101101;
        10: y = 16'b0010101100010111;
        11: y = 16'b0010111100110011;
        12: y = 16'b0011001101000010;
        13: y = 16'b0011011101000001;
        14: y = 16'b0011101100101111;
        15: y = 16'b0011111100001011;
        16: y = 16'b0100001011010101;
        17: y = 16'b0100011010001010;
        18: y = 16'b0100101000101010;
        19: y = 16'b0100110110110011;
        20: y = 16'b0101000100100110;
        21: y = 16'b0101010001111111;
        22: y = 16'b0101011110111111;
        23: y = 16'b0101101011100101;
        24: y = 16'b0101110111101111;
        25: y = 16'b0110000011011101;
        26: y = 16'b0110001110101110;
        27: y = 16'b0110011001100000;
        28: y = 16'b0110100011110100;
        29: y = 16'b0110101101101000;
        30: y = 16'b0110110110111100;
        31: y = 16'b0110111111101110;
        32: y = 16'b0111000111111111;
        33: y = 16'b0111001111101101;
        34: y = 16'b0111010110111000;
        35: y = 16'b0111011101100000;
        36: y = 16'b0111100011100100;
        37: y = 16'b0111101001000011;
        38: y = 16'b0111101101111110;
        39: y = 16'b0111110010010011;
        40: y = 16'b0111110110000011;
        41: y = 16'b0111111001001100;
        42: y = 16'b0111111011110000;
        43: y = 16'b0111111101101101;
        44: y = 16'b0111111111000100;
        45: y = 16'b0111111111110100;
        46: y = 16'b0111111111111110;
        47: y = 16'b0111111111100001;
        48: y = 16'b0111111110011101;
        49: y = 16'b0111111100110011;
        50: y = 16'b0111111010100011;
        51: y = 16'b0111110111101100;
        52: y = 16'b0111110100001111;
        53: y = 16'b0111110000001101;
        54: y = 16'b0111101011100101;
        55: y = 16'b0111100110011000;
        56: y = 16'b0111100000100111;
        57: y = 16'b0111011010010001;
        58: y = 16'b0111010011010111;
        59: y = 16'b0111001011111010;
        60: y = 16'b0111000011111011;
        61: y = 16'b0110111011011001;
        62: y = 16'b0110110010010110;
        63: y = 16'b0110101000110010;
        64: y = 16'b0110011110101110;
        65: y = 16'b0110010100001011;
        66: y = 16'b0110001001001001;
        67: y = 16'b0101111101101010;
        68: y = 16'b0101110001101110;
        69: y = 16'b0101100101010110;
        70: y = 16'b0101011000100011;
        71: y = 16'b0101001011010110;
        72: y = 16'b0100111101110000;
        73: y = 16'b0100101111110010;
        74: y = 16'b0100100001011101;
        75: y = 16'b0100010010110010;
        76: y = 16'b0100000011110010;
        77: y = 16'b0011110100011111;
        78: y = 16'b0011100100111010;
        79: y = 16'b0011010101000011;
        80: y = 16'b0011000100111100;
        81: y = 16'b0010110100100111;
        82: y = 16'b0010100100000011;
        83: y = 16'b0010010011010100;
        84: y = 16'b0010000010011001;
        85: y = 16'b0001110001010100;
        86: y = 16'b0001100000000111;
        87: y = 16'b0001001110110011;
        88: y = 16'b0000111101011000;
        89: y = 16'b0000101011111001;
        90: y = 16'b0000011010010111;
        91: y = 16'b0000001000110010;
        92: y = 16'b1111110111001110;
        93: y = 16'b1111100101101001;
        94: y = 16'b1111010100000111;
        95: y = 16'b1111000010101000;
        96: y = 16'b1110110001001101;
        97: y = 16'b1110011111111001;
        98: y = 16'b1110001110101100;
        99: y = 16'b1101111101100111;
        100: y = 16'b1101101100101100;
        101: y = 16'b1101011011111101;
        102: y = 16'b1101001011011001;
        103: y = 16'b1100111011000100;
        104: y = 16'b1100101010111101;
        105: y = 16'b1100011011000110;
        106: y = 16'b1100001011100001;
        107: y = 16'b1011111100001110;
        108: y = 16'b1011101101001110;
        109: y = 16'b1011011110100011;
        110: y = 16'b1011010000001110;
        111: y = 16'b1011000010010000;
        112: y = 16'b1010110100101010;
        113: y = 16'b1010100111011101;
        114: y = 16'b1010011010101010;
        115: y = 16'b1010001110010010;
        116: y = 16'b1010000010010110;
        117: y = 16'b1001110110110111;
        118: y = 16'b1001101011110101;
        119: y = 16'b1001100001010010;
        120: y = 16'b1001010111001110;
        121: y = 16'b1001001101101010;
        122: y = 16'b1001000100100111;
        123: y = 16'b1000111100000101;
        124: y = 16'b1000110100000110;
        125: y = 16'b1000101100101001;
        126: y = 16'b1000100101101111;
        127: y = 16'b1000011111011001;
        128: y = 16'b1000011001101000;
        129: y = 16'b1000010100011011;
        130: y = 16'b1000001111110011;
        131: y = 16'b1000001011110001;
        132: y = 16'b1000001000010100;
        133: y = 16'b1000000101011101;
        134: y = 16'b1000000011001101;
        135: y = 16'b1000000001100011;
        136: y = 16'b1000000000011111;
        137: y = 16'b1000000000000010;
        138: y = 16'b1000000000001100;
        139: y = 16'b1000000000111100;
        140: y = 16'b1000000010010011;
        141: y = 16'b1000000100010000;
        142: y = 16'b1000000110110100;
        143: y = 16'b1000001001111101;
        144: y = 16'b1000001101101101;
        145: y = 16'b1000010010000010;
        146: y = 16'b1000010110111101;
        147: y = 16'b1000011100011100;
        148: y = 16'b1000100010100000;
        149: y = 16'b1000101001001000;
        150: y = 16'b1000110000010011;
        151: y = 16'b1000111000000001;
        152: y = 16'b1001000000010010;
        153: y = 16'b1001001001000100;
        154: y = 16'b1001010010011000;
        155: y = 16'b1001011100001100;
        156: y = 16'b1001100110100000;
        157: y = 16'b1001110001010010;
        158: y = 16'b1001111100100011;
        159: y = 16'b1010001000010001;
        160: y = 16'b1010010100011011;
        161: y = 16'b1010100001000001;
        162: y = 16'b1010101110000001;
        163: y = 16'b1010111011011010;
        164: y = 16'b1011001001001101;
        165: y = 16'b1011010111010110;
        166: y = 16'b1011100101110110;
        167: y = 16'b1011110100101011;
        168: y = 16'b1100000011110101;
        169: y = 16'b1100010011010001;
        170: y = 16'b1100100010111111;
        171: y = 16'b1100110010111110;
        172: y = 16'b1101000011001101;
        173: y = 16'b1101010011101001;
        174: y = 16'b1101100100010011;
        175: y = 16'b1101110101001000;
        176: y = 16'b1110000110001000;
        177: y = 16'b1110010111010001;
        178: y = 16'b1110101000100010;
        179: y = 16'b1110111001111010;
        180: y = 16'b1111001011010111;
        181: y = 16'b1111011100111000;
        182: y = 16'b1111101110011011;
        default: y = 16'b0;
        endcase

endmodule