Skip to content
Snippets Groups Projects
Commit bfb4e32f authored by Kenneth Hiemstra's avatar Kenneth Hiemstra
Browse files

fix path to hex file for BG

parent be928404
No related branches found
No related tags found
No related merge requests found
...@@ -135,7 +135,8 @@ def gen_bg_hex_files(c_nof_values = 1024, c_nof_streams = 4): ...@@ -135,7 +135,8 @@ def gen_bg_hex_files(c_nof_values = 1024, c_nof_streams = 4):
stream_im.append(i) stream_im.append(i)
data_concat = dsp_test_bg.concatenate_two_lists(stream_re, stream_im, c_in_dat_w) data_concat = dsp_test_bg.concatenate_two_lists(stream_re, stream_im, c_in_dat_w)
data.append(data_concat) data.append(data_concat)
filename = "../../src/hex/tb_bg_dat_" + str(i) + ".hex" #filename = "../../src/hex/tb_bg_dat_" + str(i) + ".hex"
filename = os.environ["UNB"] + "/Firmware/modules/ddr3/src/hex/tb_bg_dat_" + str(i) + ".hex"
mem_init_file.list_to_hex(list_in=data_concat, filename=filename, mem_width=c_nof_complex*c_in_dat_w, mem_depth=2**(ceil_log2(c_bg_ram_size))) mem_init_file.list_to_hex(list_in=data_concat, filename=filename, mem_width=c_nof_complex*c_in_dat_w, mem_depth=2**(ceil_log2(c_bg_ram_size)))
return data return data
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment