OpenRAM
OpenRAM copied to clipboard
ROM simulation model using $readmemb for binary file will NOT work
Describe the bug ROM simulation model using $readmemb for binary file will NOT work. It should use $fread for binary file to initialize the memory array
Version Which commit are you using? v1.2.48
To Reproduce What did you do to demonstrate the bug? Simulation
Expected behavior initial begin int FILE_ID_L = $fopen("sineL.bin", "rb"); $fread(mem, FILE_ID_L); $fclose(FILE_ID_L); end
Logs If applicable, add logs or output to help explain your problem.
Additional context Add any other context about the problem here.