File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11# ##############################################################################
2- # # Copyright (C) 2020-2023 Analog Devices, Inc. All rights reserved.
2+ # # Copyright (C) 2020-2024 Analog Devices, Inc. All rights reserved.
33# ## SPDX short identifier: ADIBSD
44# ##############################################################################
55
66# # Initialize global variables
77
88set mem_init_sys_file_path [pwd ]
99if {[info exists ::env(ADI_PROJECT_DIR)]} {
10- set mem_init_sys_file_path $::env(ADI_PROJECT_DIR)
10+ set mem_init_sys_file_path [ string trimright [ pwd ]/ $::env(ADI_PROJECT_DIR) " / " ]
1111}
1212
1313# # Converts a string input to hex and adds whitespace as padding to obtain the size defined by
@@ -212,7 +212,7 @@ proc sysid_gen_sys_init_file {{custom_string {}} {address_bits {9}}} {
212212 set sys_mem_hex [format %0-${memory_size} s [concat $comh_hex$verh_hex$projname_hex$boardname_hex$custom_hex ]];
213213
214214 if {[info exists ::env(ADI_PROJECT_DIR)]} {
215- set mem_init_sys_file_path $::env(ADI_PROJECT_DIR) mem_init_sys.txt
215+ set mem_init_sys_file_path [ pwd ]/ $::env(ADI_PROJECT_DIR) mem_init_sys.txt
216216 } else {
217217 set mem_init_sys_file_path " mem_init_sys.txt"
218218 }
You can’t perform that action at this time.
0 commit comments