Exemplo n.º 1
0
 def _define_caches(self, register_maps):
     for map, ttl in register_maps:
         cache = RegisterCache(self, 255, CacheWriter, ttl, None, self.address)
         for d in map:
             cache.map_register_entry(d)
             d.cache = cache
         self.caches.append(cache)
Exemplo n.º 2
0
 def _define_caches(self, register_maps):
     for map, ttl in register_maps:
         cache = RegisterCache(self, 255, CacheWriter, ttl, None,
                               self.address)
         for d in map:
             cache.map_register_entry(d)
             d.cache = cache
         self.caches.append(cache)
Exemplo n.º 3
0
 def _define_caches(self, register_maps):
     for map, ttl in register_maps:
         cache = RegisterCache(self, self.address, CacheWriter, ttl)
         for d in map:
             ion = cache.map_register(d.offset, d.count, d.name, d.read,
                                      d.write)
             self._add_child(ion)
         self.caches.append(cache)
Exemplo n.º 4
0
 def _define_caches(self, register_maps):
     for map, ttl in register_maps:
         cache = RegisterCache(self, self.address, CacheWriter, ttl)
         for d in map:
             ion = cache.map_register(d.offset, d.count, d.name,
                                      d.read, d.write)
             self._add_child(ion)
         self.caches.append(cache)