Skip to content

Commit 61b3631

Browse files
committed
targets: Use minimum SO-DIMM Tester HyperRAM latency
Default the SO-DIMM DDR5 Tester HyperRAM BIOS init to latency 3 CK with 34 ohm drive strength. This is the minimum valid latency at the board's 50 MHz HyperRAM clock and matches the validated full-memory memtest configuration. Also align the target parser help columns so the LiteX-Boards parser-alignment CI check passes.
1 parent f115d34 commit 61b3631

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

litex_boards/targets/antmicro_sodimm_ddr5_tester.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def __init__(self, *, sys_clk_freq=200e6, iodelay_clk_freq=200e6,
104104
eth_reset_time = "10e-3",
105105
eth_dynamic_ip = False,
106106
with_hyperram = False,
107-
hyperram_init_latency = 6,
107+
hyperram_init_latency = 3,
108108
hyperram_init_drive_strength = 34,
109109
with_sdcard = False,
110110
with_spi_flash = False,
@@ -295,7 +295,7 @@ def main():
295295
parser.add_target_argument("--eth-dynamic-ip", action="store_true", help="Enable dynamic Ethernet IP assignment.")
296296
parser.add_target_argument("--eth-reset-time", default="10e-3", help="Duration of Ethernet PHY reset.")
297297
parser.add_target_argument("--with-hyperram", action="store_true", help="Add HyperRAM.")
298-
parser.add_target_argument("--hyperram-init-latency", default=6, type=int, choices=[3, 4, 5, 6, 7], help="BIOS HyperRAM initial latency in clocks.")
298+
parser.add_target_argument("--hyperram-init-latency", default=3, type=int, choices=[3, 4, 5, 6, 7], help="BIOS HyperRAM initial latency in clocks.")
299299
parser.add_target_argument("--hyperram-init-drive-strength", default=34, type=int, choices=[34, 115, 67, 46, 27, 22, 19], help="BIOS HyperRAM output drive strength in ohms.")
300300
parser.add_target_argument("--with-sdcard", action="store_true", help="Add SDCard.")
301301
parser.add_target_argument("--with-spi-flash", action="store_true", help="Enable memory-mapped SPI flash.")

0 commit comments

Comments
 (0)