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