Exemplo n.º 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)
Exemplo n.º 2
0
 def create_controller(self):
     f = piw.slowchange(utils.changify(self.__change))
     return policy.FunctorController(self.__input.clock_domain, functor=f)
Exemplo n.º 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)
Exemplo n.º 4
0
 def create_controller(self):
     return policy.FunctorController(self.__input.clock_domain)