def _declr(self) -> None: addClkRstn(self) slavePorts = HObjList() for _, features in self._masters: if features is not ACCESS_RW: raise NotImplementedError(features) m = Ipif() m._updateParamsFrom(self) slavePorts.append(m) self.s = slavePorts masterPorts = HObjList() for _, size, features in self._slaves: if features is not ACCESS_RW: raise NotImplementedError(features) s = Ipif()._m() s.ADDR_WIDTH.set(log2ceil(size - 1)) s._replaceParam(s.DATA_WIDTH, self.DATA_WIDTH) masterPorts.append(s) self.m = masterPorts
def _config(self) -> None: Ipif._config(self)
def _config(self): Ipif._config(self)