examples/litedram_gen: add sdram_module_speedgrade parameter
This commit is contained in:
parent
1bc016cf6c
commit
426ae23d2a
|
@ -8,6 +8,7 @@ core_config = {
|
|||
# modules / phy
|
||||
"sdram_module": MT41K128M16,
|
||||
"sdram_module_nb": 1,
|
||||
"sdram_module_speedgrade": "1066",
|
||||
"sdram_rank_nb": 1,
|
||||
"sdram_phy": A7DDRPHY,
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@ core_config = {
|
|||
# modules / phy
|
||||
"sdram_module": MT41J256M16,
|
||||
"sdram_module_nb": 2,
|
||||
"sdram_module_speedgrade": "1333",
|
||||
"sdram_rank_nb": 1,
|
||||
"sdram_phy": K7DDRPHY,
|
||||
|
||||
|
|
|
@ -210,7 +210,7 @@ class LiteDRAMCore(SoCSDRAM):
|
|||
rtt_nom=core_config["rtt_nom"],
|
||||
rtt_wr=core_config["rtt_wr"],
|
||||
ron=core_config["ron"])
|
||||
sdram_module = core_config["sdram_module"](sys_clk_freq, "1:4")
|
||||
sdram_module = core_config["sdram_module"](sys_clk_freq, "1:4", speedgrade=core_config["sdram_module_speedgrade"])
|
||||
controller_settings = controller_settings=ControllerSettings(
|
||||
cmd_buffer_depth=core_config["cmd_buffer_depth"],
|
||||
read_time=core_config["read_time"],
|
||||
|
|
Loading…
Reference in New Issue