targets: change a7/k7ddrphy imports to s7ddrphy
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Tue, 12 Jun 2018 13:39:22 +0000 (15:39 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Tue, 12 Jun 2018 13:40:45 +0000 (15:40 +0200)
litex/boards/targets/arty.py
litex/boards/targets/kc705.py
litex/boards/targets/nexys4ddr.py
litex/boards/targets/nexys_video.py

index 1fdbfd5ed2f33400dd4f7268a372356516d5a8c3..e074c47ee5a779a972a5c8dcaa0109b920e94178 100755 (executable)
@@ -12,7 +12,7 @@ from litex.soc.integration.soc_sdram import *
 from litex.soc.integration.builder import *
 
 from litedram.modules import MT41K128M16
-from litedram.phy import a7ddrphy
+from litedram.phy import s7ddrphy
 
 from liteeth.phy.mii import LiteEthPHYMII
 from liteeth.core.mac import LiteEthMAC
@@ -107,7 +107,7 @@ class BaseSoC(SoCSDRAM):
         self.submodules.crg = _CRG(platform)
 
         # sdram
-        self.submodules.ddrphy = a7ddrphy.A7DDRPHY(platform.request("ddram"))
+        self.submodules.ddrphy = s7ddrphy.A7DDRPHY(platform.request("ddram"))
         self.add_constant("READ_LEVELING_BITSLIP", 3)
         self.add_constant("READ_LEVELING_DELAY", 14)
         sdram_module = MT41K128M16(self.clk_freq, "1:4")
index 86ebe291a664c01996c49c7b8beae5a537d3f8f9..89498d67517a0655a8f8106c4ca27c708cab3e6d 100755 (executable)
@@ -12,7 +12,7 @@ from litex.soc.integration.soc_sdram import *
 from litex.soc.integration.builder import *
 
 from litedram.modules import MT8JTF12864
-from litedram.phy import k7ddrphy
+from litedram.phy import s7ddrphy
 
 from liteeth.phy import LiteEthPHY
 from liteeth.core.mac import LiteEthMAC
@@ -89,7 +89,7 @@ class BaseSoC(SoCSDRAM):
         self.submodules.crg = _CRG(platform)
 
         # sdram
-        self.submodules.ddrphy = k7ddrphy.K7DDRPHY(platform.request("ddram"))
+        self.submodules.ddrphy = s7ddrphy.K7DDRPHY(platform.request("ddram"))
         sdram_module = MT8JTF12864(self.clk_freq, "1:4")
         self.register_sdram(self.ddrphy,
                             sdram_module.geom_settings,
index ee13a6ef3572d657fcb2a3683e6ccdc3d795dc70..fd33159c5787c0d1686924d84e7e5add2f0359c4 100755 (executable)
@@ -12,7 +12,7 @@ from litex.soc.integration.soc_sdram import *
 from litex.soc.integration.builder import *
 
 from litedram.modules import MT47H64M16
-from litedram.phy import a7ddrphy
+from litedram.phy import s7ddrphy
 
 
 class _CRG(Module):
@@ -93,7 +93,7 @@ class BaseSoC(SoCSDRAM):
         self.submodules.crg = _CRG(platform)
 
         # sdram
-        self.submodules.ddrphy = a7ddrphy.A7DDRPHY(platform.request("ddram"))
+        self.submodules.ddrphy = s7ddrphy.A7DDRPHY(platform.request("ddram"))
         sdram_module = MT47H64M16(self.clk_freq, "1:4")
         self.register_sdram(self.ddrphy,
                             sdram_module.geom_settings,
index b0265187d6a630092fe7f990bef0e2e4839bc9d2..70e054ec1d2e388d2c308777d0ed6f91f0534e99 100755 (executable)
@@ -12,7 +12,7 @@ from litex.soc.integration.soc_sdram import *
 from litex.soc.integration.builder import *
 
 from litedram.modules import MT41K256M16
-from litedram.phy import a7ddrphy
+from litedram.phy import s7ddrphy
 
 from liteeth.phy.s7rgmii import LiteEthPHYRGMII
 from liteeth.core.mac import LiteEthMAC
@@ -96,7 +96,7 @@ class BaseSoC(SoCSDRAM):
         self.submodules.crg = _CRG(platform)
 
         # sdram
-        self.submodules.ddrphy = a7ddrphy.A7DDRPHY(platform.request("ddram"))
+        self.submodules.ddrphy = s7ddrphy.A7DDRPHY(platform.request("ddram"))
         self.add_constant("READ_LEVELING_BITSLIP", 3)
         self.add_constant("READ_LEVELING_DELAY", 14)
         sdram_module = MT41K256M16(self.clk_freq, "1:4")