You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: