machdyne: Fix LiteDRAM PHYs imports (QuarterRateGENSDRPHY not already working?/integrated).

This commit is contained in:
Florent Kermarrec 2023-01-01 21:35:51 +01:00
parent 563ccbd8cf
commit f5643e7c78
2 changed files with 1 additions and 4 deletions

View File

@ -31,7 +31,6 @@ from litedram.modules import W9825G6KH6
from litedram.modules import IS42S16320
from litedram.phy import GENSDRPHY, HalfRateGENSDRPHY
from litedram.phy import QuarterRateGENSDRPHY
from litex.soc.integration.soc import SoCRegion
@ -120,6 +119,7 @@ class BaseSoC(SoCCore):
if sdram_rate == "1:2":
sdrphy_cls = HalfRateGENSDRPHY
elif sdram_rate == "1:4":
from litedram.phy import QuarterRateGENSDRPHY
sdrphy_cls = QuarterRateGENSDRPHY
else:
sdrphy_cls = GENSDRPHY

View File

@ -33,9 +33,6 @@ from litex.soc.integration.builder import *
from litedram.modules import MT41K64M16, MT41K128M16, MT41K256M16, MT41K512M16
from litedram.phy import ECP5DDRPHY
from litedram.phy import GENSDRPHY, HalfRateGENSDRPHY
from litedram.phy import QuarterRateGENSDRPHY
from litex.soc.integration.soc import SoCRegion
# CRG ---------------------------------------------------------------------------------------------