Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ROM simulation model using $readmemb for binary file will NOT work #253

Open
tvd040562 opened this issue Sep 24, 2024 · 0 comments
Open

Comments

@tvd040562
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant