mirror of
https://github.com/saymrwulf/litex-boards.git
synced 2026-11-18 09:41:45 +00:00
machdyne: Fix LiteDRAM PHYs imports (QuarterRateGENSDRPHY not already working?/integrated).
This commit is contained in:
parent
563ccbd8cf
commit
f5643e7c78
2 changed files with 1 additions and 4 deletions
|
|
@ -31,7 +31,6 @@ from litedram.modules import W9825G6KH6
|
||||||
from litedram.modules import IS42S16320
|
from litedram.modules import IS42S16320
|
||||||
|
|
||||||
from litedram.phy import GENSDRPHY, HalfRateGENSDRPHY
|
from litedram.phy import GENSDRPHY, HalfRateGENSDRPHY
|
||||||
from litedram.phy import QuarterRateGENSDRPHY
|
|
||||||
|
|
||||||
from litex.soc.integration.soc import SoCRegion
|
from litex.soc.integration.soc import SoCRegion
|
||||||
|
|
||||||
|
|
@ -120,6 +119,7 @@ class BaseSoC(SoCCore):
|
||||||
if sdram_rate == "1:2":
|
if sdram_rate == "1:2":
|
||||||
sdrphy_cls = HalfRateGENSDRPHY
|
sdrphy_cls = HalfRateGENSDRPHY
|
||||||
elif sdram_rate == "1:4":
|
elif sdram_rate == "1:4":
|
||||||
|
from litedram.phy import QuarterRateGENSDRPHY
|
||||||
sdrphy_cls = QuarterRateGENSDRPHY
|
sdrphy_cls = QuarterRateGENSDRPHY
|
||||||
else:
|
else:
|
||||||
sdrphy_cls = GENSDRPHY
|
sdrphy_cls = GENSDRPHY
|
||||||
|
|
|
||||||
|
|
@ -33,9 +33,6 @@ from litex.soc.integration.builder import *
|
||||||
from litedram.modules import MT41K64M16, MT41K128M16, MT41K256M16, MT41K512M16
|
from litedram.modules import MT41K64M16, MT41K128M16, MT41K256M16, MT41K512M16
|
||||||
from litedram.phy import ECP5DDRPHY
|
from litedram.phy import ECP5DDRPHY
|
||||||
|
|
||||||
from litedram.phy import GENSDRPHY, HalfRateGENSDRPHY
|
|
||||||
from litedram.phy import QuarterRateGENSDRPHY
|
|
||||||
|
|
||||||
from litex.soc.integration.soc import SoCRegion
|
from litex.soc.integration.soc import SoCRegion
|
||||||
|
|
||||||
# CRG ---------------------------------------------------------------------------------------------
|
# CRG ---------------------------------------------------------------------------------------------
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue