I have defined a global const array, which gets stored in the ROM. HW_EMU for the design works fine. Somehow the tapa fast cosim gives the warning below and the simulation hangs at "run_all" message.
"WARNING: File ./load_load_Pipeline_LOAD_LOOP_NDelta_BitMap_ROM_AUTO_1R.dat referenced on /tmp/tapa-fast-cosim.7wGFW0/output/tapa_fast_cosim_661243/ip_repo/haoda_xrtl_data_decoding_1_0/src/load_load_Pipeline_LOAD_LOOP_NDelta_BitMap_ROM_AUTO_1R.v at line 23 cannot be opened for reading. Please ensure that this file is available in the current working directory."
The file exists in the directory and read write permission is enabled,
That file contains this part of code to read the memory first and some other logic
"
initial begin
$readmemh("./load_load_Pipeline_LOAD_LOOP_NDelta_BitMap_ROM_AUTO_1R.dat", ram);
end
"
I have defined a global const array, which gets stored in the ROM. HW_EMU for the design works fine. Somehow the tapa fast cosim gives the warning below and the simulation hangs at "run_all" message. "WARNING: File ./load_load_Pipeline_LOAD_LOOP_NDelta_BitMap_ROM_AUTO_1R.dat referenced on /tmp/tapa-fast-cosim.7wGFW0/output/tapa_fast_cosim_661243/ip_repo/haoda_xrtl_data_decoding_1_0/src/load_load_Pipeline_LOAD_LOOP_NDelta_BitMap_ROM_AUTO_1R.v at line 23 cannot be opened for reading. Please ensure that this file is available in the current working directory."
The file exists in the directory and read write permission is enabled, That file contains this part of code to read the memory first and some other logic " initial begin $readmemh("./load_load_Pipeline_LOAD_LOOP_NDelta_BitMap_ROM_AUTO_1R.dat", ram); end "