projects
/
litex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f2e5cd
)
sdram: raise NotImplementedError if Minicon is used others memories than SDR (not...
author
Florent Kermarrec
<florent@enjoy-digital.fr>
Thu, 19 Mar 2015 15:08:03 +0000
(16:08 +0100)
committer
Florent Kermarrec
<florent@enjoy-digital.fr>
Thu, 19 Mar 2015 15:08:03 +0000
(16:08 +0100)
misoclib/soc/sdram.py
patch
|
blob
|
history
diff --git
a/misoclib/soc/sdram.py
b/misoclib/soc/sdram.py
index 7e47cf1d5018fe2e949e87fb384510f734f1533f..237cad227b55c4e641c85c53acd27a5421129d0d 100644
(file)
--- a/
misoclib/soc/sdram.py
+++ b/
misoclib/soc/sdram.py
@@
-36,6
+36,8
@@
class SDRAMSoC(SoC):
if self._sdram_phy_registered:
raise FinalizeError
self._sdram_phy_registered = True
+ if self.ramcon_type == "minicon" and phy.settings.memtype != "SDR":
+ raise NotImplementedError("Minicon only supports SDR memtype for now (" + phy.settings.memtype + ")")
# Core
self.submodules.sdram = SDRAMCore(phy, self.ramcon_type, sdram_geom, sdram_timing)