Exemple #1
0
    def get_controller_backend(self,config):
        if self.__ctrl is None:
            f=piw.slowchange(utils.changify(self.__change))
            self.__ctrl = policy.FunctorController(self.__input.clock_domain,functor=f)

        return self.__ctrl.get_backend(config)
Exemple #2
0
 def create_controller(self):
     f = piw.slowchange(utils.changify(self.__change))
     return policy.FunctorController(self.__input.clock_domain, functor=f)
Exemple #3
0
    def get_controller_backend(self,config):
        if self.__ctrl is None:
            self.__ctrl = policy.FunctorController(self.__input.clock_domain)

        return self.__ctrl.get_backend(config)
Exemple #4
0
 def create_controller(self):
     return policy.FunctorController(self.__input.clock_domain)