projects
/
litex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
acbba37
)
k7ddrphy: fix read_latency (CL is 2 sys_clk since we use quarter rate)
author
Florent Kermarrec
<florent@enjoy-digital.fr>
Thu, 14 Aug 2014 14:33:59 +0000
(16:33 +0200)
committer
Sebastien Bourdeauducq
<sb@m-labs.hk>
Thu, 14 Aug 2014 14:46:06 +0000
(22:46 +0800)
misoclib/sdramphy/k7ddrphy.py
patch
|
blob
|
history
diff --git
a/misoclib/sdramphy/k7ddrphy.py
b/misoclib/sdramphy/k7ddrphy.py
index 83171224c5fb761d9bd07cec3f63fbdc606053da..5d70adfdc0e95cee143b6acdb4c020bf67159d20 100644
(file)
--- a/
misoclib/sdramphy/k7ddrphy.py
+++ b/
misoclib/sdramphy/k7ddrphy.py
@@
-22,7
+22,7
@@
class K7DDRPHY(Module):
wrcmdphase=0,
cl=8,
cwl=6,
- read_latency=
8
,
+ read_latency=
6
,
write_latency=2
)
@@
-211,12
+211,12
@@
class K7DDRPHY(Module):
)
]
- # total read latency =
8
:
+ # total read latency =
6
:
# 2 cycles through OSERDESE2
- #
4
cycles CAS
+ #
2
cycles CAS
# 2 cycles through ISERDESE2
rddata_en = self.dfi.phases[self.phy_settings.rdphase].rddata_en
- for i in range(
7
):
+ for i in range(
5
):
n_rddata_en = Signal()
self.sync += n_rddata_en.eq(rddata_en)
rddata_en = n_rddata_en