def METHOD_NAME(self) -> None:
    super().METHOD_NAME()
    if not self.get_cache_hierarchy():
        # If we have no caches, then there must be a one-to-one
        # connection between the generators and the memories.
        assert len(self.get_processor().get_cores()) == 1
        assert len(self.get_memory().get_mem_ports()) == 1
        self.get_processor().get_cores()[0].connect_dcache(
            self.get_memory().get_mem_ports()[0][1]
        )