Skip to content

Commit

Permalink
Makefile: Reduce DDR5 tester JTAG frequency to 3MHz
Browse files Browse the repository at this point in the history
This improves programming stability.

Signed-off-by: Maciej Dudek <[email protected]>
  • Loading branch information
mtdudek committed Sep 22, 2023
1 parent 6092bc2 commit 049a984
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ else ifeq ($(TARGET),lpddr4_test_board)
OFL_BOARD := antmicro_lpddr4_tester
else ifeq ($(TARGET),ddr5_tester)
OFL_BOARD := antmicro_ddr5_tester
OFL_EXTRA_ARGS := --freq 3e6
else ifeq ($(TARGET),ddr5_test_board)
OFL_BOARD := antmicro_lpddr4_tester
else ifeq ($(TARGET),zcu104)
Expand All @@ -32,6 +33,7 @@ endif
ARGS ?=
NET_ARGS := --ip-address $(IP_ADDRESS) --mac-address $(MAC_ADDRESS) --udp-port $(UDP_PORT)
TARGET_ARGS := $(NET_ARGS) $(ARGS)
OFL_EXTRA_ARGS ?=

# Update PATH to activate the Python venv and include all required binaries
# Adding vnev/bin to PATH forces usage of the Python binary from venv,
Expand Down Expand Up @@ -70,7 +72,7 @@ ifeq ($(TARGET),zcu104)
@echo "For ZCU104 please copy the file build/zcu104/gateware/zcu104.bit to the boot partition on microSD card"
@exit 1
else
openFPGALoader --board $(OFL_BOARD) build/$(TARGET)/gateware/$(TOP).bit
openFPGALoader --board $(OFL_BOARD) $(OFL_EXTRA_ARGS) build/$(TARGET)/gateware/$(TOP).bit
endif

flash: FORCE
Expand Down

0 comments on commit 049a984

Please sign in to comment.