self.memory = memory
self.read_only = read_only
if bus is None:
- bus = Interface(addr_width=log2_int(self.memory.depth, need_pow2=False),
+ bus = Interface(addr_width=log2_int(self.memory.depth,
+ need_pow2=False),
data_width=self.memory.width,
granularity=granularity,
features=features,