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

    assign x_max = 172;

    always @ (*)
        case (x)
        0: y = 16'b0000000000000000;
        1: y = 16'b0000010010100110;
        2: y = 16'b0000100101001010;
        3: y = 16'b0000110111101011;
        4: y = 16'b0001001010001000;
        5: y = 16'b0001011100011110;
        6: y = 16'b0001101110101100;
        7: y = 16'b0010000000110001;
        8: y = 16'b0010010010101011;
        9: y = 16'b0010100100011001;
        10: y = 16'b0010110101111001;
        11: y = 16'b0011000111001001;
        12: y = 16'b0011011000001001;
        13: y = 16'b0011101000110110;
        14: y = 16'b0011111001010000;
        15: y = 16'b0100001001010101;
        16: y = 16'b0100011001000011;
        17: y = 16'b0100101000011010;
        18: y = 16'b0100110111011000;
        19: y = 16'b0101000101111011;
        20: y = 16'b0101010100000011;
        21: y = 16'b0101100001101110;
        22: y = 16'b0101101110111011;
        23: y = 16'b0101111011101001;
        24: y = 16'b0110000111111000;
        25: y = 16'b0110010011100101;
        26: y = 16'b0110011110110000;
        27: y = 16'b0110101001011000;
        28: y = 16'b0110110011011100;
        29: y = 16'b0110111100111100;
        30: y = 16'b0111000101110110;
        31: y = 16'b0111001110001001;
        32: y = 16'b0111010101110110;
        33: y = 16'b0111011100111011;
        34: y = 16'b0111100011010111;
        35: y = 16'b0111101001001011;
        36: y = 16'b0111101110010110;
        37: y = 16'b0111110010110110;
        38: y = 16'b0111110110101101;
        39: y = 16'b0111111001111001;
        40: y = 16'b0111111100011011;
        41: y = 16'b0111111110010010;
        42: y = 16'b0111111111011101;
        43: y = 16'b0111111111111110;
        44: y = 16'b0111111111110011;
        45: y = 16'b0111111110111101;
        46: y = 16'b0111111101011100;
        47: y = 16'b0111111011010000;
        48: y = 16'b0111111000011001;
        49: y = 16'b0111110100110111;
        50: y = 16'b0111110000101011;
        51: y = 16'b0111101011110110;
        52: y = 16'b0111100110010110;
        53: y = 16'b0111100000001110;
        54: y = 16'b0111011001011101;
        55: y = 16'b0111010010000100;
        56: y = 16'b0111001010000100;
        57: y = 16'b0111000001011101;
        58: y = 16'b0110111000010001;
        59: y = 16'b0110101110011111;
        60: y = 16'b0110100100001000;
        61: y = 16'b0110011001001111;
        62: y = 16'b0110001101110010;
        63: y = 16'b0110000001110101;
        64: y = 16'b0101110101010110;
        65: y = 16'b0101101000011000;
        66: y = 16'b0101011010111100;
        67: y = 16'b0101001101000010;
        68: y = 16'b0100111110101101;
        69: y = 16'b0100101111111100;
        70: y = 16'b0100100000110010;
        71: y = 16'b0100010001001111;
        72: y = 16'b0100000001010101;
        73: y = 16'b0011110001000110;
        74: y = 16'b0011100000100010;
        75: y = 16'b0011001111101011;
        76: y = 16'b0010111110100011;
        77: y = 16'b0010101101001011;
        78: y = 16'b0010011011100100;
        79: y = 16'b0010001001110000;
        80: y = 16'b0001110111110000;
        81: y = 16'b0001100101100110;
        82: y = 16'b0001010011010011;
        83: y = 16'b0001000000111010;
        84: y = 16'b0000101110011011;
        85: y = 16'b0000011011111000;
        86: y = 16'b0000001001010011;
        87: y = 16'b1111110110101101;
        88: y = 16'b1111100100001000;
        89: y = 16'b1111010001100101;
        90: y = 16'b1110111111000110;
        91: y = 16'b1110101100101101;
        92: y = 16'b1110011010011010;
        93: y = 16'b1110001000010000;
        94: y = 16'b1101110110010000;
        95: y = 16'b1101100100011100;
        96: y = 16'b1101010010110101;
        97: y = 16'b1101000001011101;
        98: y = 16'b1100110000010101;
        99: y = 16'b1100011111011110;
        100: y = 16'b1100001110111010;
        101: y = 16'b1011111110101011;
        102: y = 16'b1011101110110001;
        103: y = 16'b1011011111001110;
        104: y = 16'b1011010000000100;
        105: y = 16'b1011000001010011;
        106: y = 16'b1010110010111110;
        107: y = 16'b1010100101000100;
        108: y = 16'b1010010111101000;
        109: y = 16'b1010001010101010;
        110: y = 16'b1001111110001011;
        111: y = 16'b1001110010001110;
        112: y = 16'b1001100110110001;
        113: y = 16'b1001011011111000;
        114: y = 16'b1001010001100001;
        115: y = 16'b1001000111101111;
        116: y = 16'b1000111110100011;
        117: y = 16'b1000110101111100;
        118: y = 16'b1000101101111100;
        119: y = 16'b1000100110100011;
        120: y = 16'b1000011111110010;
        121: y = 16'b1000011001101010;
        122: y = 16'b1000010100001010;
        123: y = 16'b1000001111010101;
        124: y = 16'b1000001011001001;
        125: y = 16'b1000000111100111;
        126: y = 16'b1000000100110000;
        127: y = 16'b1000000010100100;
        128: y = 16'b1000000001000011;
        129: y = 16'b1000000000001101;
        130: y = 16'b1000000000000010;
        131: y = 16'b1000000000100011;
        132: y = 16'b1000000001101110;
        133: y = 16'b1000000011100101;
        134: y = 16'b1000000110000111;
        135: y = 16'b1000001001010011;
        136: y = 16'b1000001101001010;
        137: y = 16'b1000010001101010;
        138: y = 16'b1000010110110101;
        139: y = 16'b1000011100101001;
        140: y = 16'b1000100011000101;
        141: y = 16'b1000101010001010;
        142: y = 16'b1000110001110111;
        143: y = 16'b1000111010001010;
        144: y = 16'b1001000011000100;
        145: y = 16'b1001001100100100;
        146: y = 16'b1001010110101000;
        147: y = 16'b1001100001010000;
        148: y = 16'b1001101100011011;
        149: y = 16'b1001111000001000;
        150: y = 16'b1010000100010111;
        151: y = 16'b1010010001000101;
        152: y = 16'b1010011110010010;
        153: y = 16'b1010101011111101;
        154: y = 16'b1010111010000101;
        155: y = 16'b1011001000101000;
        156: y = 16'b1011010111100110;
        157: y = 16'b1011100110111101;
        158: y = 16'b1011110110101011;
        159: y = 16'b1100000110110000;
        160: y = 16'b1100010111001010;
        161: y = 16'b1100100111110111;
        162: y = 16'b1100111000110111;
        163: y = 16'b1101001010000111;
        164: y = 16'b1101011011100111;
        165: y = 16'b1101101101010101;
        166: y = 16'b1101111111001111;
        167: y = 16'b1110010001010100;
        168: y = 16'b1110100011100010;
        169: y = 16'b1110110101111000;
        170: y = 16'b1111001000010101;
        171: y = 16'b1111011010110110;
        172: y = 16'b1111101101011010;
        default: y = 16'b0;
        endcase

endmodule