litex_sim: fix old name: get_cl_cw -> get_default_cl_cwl
This commit is contained in:
parent
7abfbd9825
commit
61e605da92
|
@ -114,7 +114,7 @@ def get_sdram_phy_settings(memtype, data_width, clk_freq):
|
|||
elif memtype in ["DDR2", "DDR3"]:
|
||||
# Settings from s7ddrphy
|
||||
tck = 2/(2*nphases*clk_freq)
|
||||
cl, cwl = get_cl_cw(memtype, tck)
|
||||
cl, cwl = get_default_cl_cwl(memtype, tck)
|
||||
cl_sys_latency = get_sys_latency(nphases, cl)
|
||||
cwl_sys_latency = get_sys_latency(nphases, cwl)
|
||||
rdphase = get_sys_phase(nphases, cl_sys_latency, cl)
|
||||
|
@ -124,7 +124,7 @@ def get_sdram_phy_settings(memtype, data_width, clk_freq):
|
|||
elif memtype == "DDR4":
|
||||
# Settings from usddrphy
|
||||
tck = 2/(2*nphases*clk_freq)
|
||||
cl, cwl = get_cl_cw(memtype, tck)
|
||||
cl, cwl = get_default_cl_cwl(memtype, tck)
|
||||
cl_sys_latency = get_sys_latency(nphases, cl)
|
||||
cwl_sys_latency = get_sys_latency(nphases, cwl)
|
||||
rdphase = get_sys_phase(nphases, cl_sys_latency, cl)
|
||||
|
|
Loading…
Reference in New Issue