def METHOD_NAME(self, num_channels: int, dram: DRAMInterface) -> int:
    return num_channels * (
        dram.device_size.value
        * dram.devices_per_rank.value
        * dram.ranks_per_channel.value
    )