soc/integration/builder: pass geom_settings when generating sdram_phy.h

Signed-off-by: Michal Sieron <msieron@antmicro.com>
This commit is contained in:
Michal Sieron 2023-01-09 16:26:07 +01:00
parent fb068f6e4e
commit 08d439f021
1 changed files with 2 additions and 1 deletions

View File

@ -227,7 +227,8 @@ class Builder:
from litedram.init import get_sdram_phy_c_header
sdram_contents = get_sdram_phy_c_header(
self.soc.sdram.controller.settings.phy,
self.soc.sdram.controller.settings.timing)
self.soc.sdram.controller.settings.timing,
self.soc.sdram.controller.settings.geom)
write_to_file(os.path.join(self.generated_dir, "sdram_phy.h"), sdram_contents)
def _generate_csr_map(self):