def Synthesizable(HighLevelModuleClass):
    """
	Class decorator (static decorator) for "HighLevelModule" objects.
	Save algorithm marked method.
	"""
    Algo = None
    TB = None
    for Name, Method in HighLevelModuleClass.__dict__.items():
        if hasattr(Method, 'IsAlgo'):
            Algo = Method
        elif hasattr(Method, 'IsTB'):
            TB = Method
    if Algo:
        HighLevelModuleClass._Algorithm = Algo
    if TB:
        HighLevelModuleClass._Testbench = TB
    return HighLevelModuleClass
