def METHOD_NAME(self):
    f = open("sdram_init.py", "w")
    f.write(
        get_sdram_phy_py_header(
            self.sdram.controller.settings.phy,
            self.sdram.controller.settings.timing))
    f.close()