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

Error with modifying resnet50.c #372

Open
zhangjie0514 opened this issue Dec 2, 2024 · 0 comments
Open

Error with modifying resnet50.c #372

zhangjie0514 opened this issue Dec 2, 2024 · 0 comments

Comments

@zhangjie0514
Copy link

Hello everyone, I encountered some issues while modifying resnet50.c. I only added:
printf("%s\n", argv[1]); printf("%s\n", argv[2]); printf("%s\n", argv[3]);
to check the command line arguments of the main function. However, after compiling and simulating with Spike, it gives an error:
(/home/zhangjie/chipyard/.conda-env) zhangjie@devjz-ubt20-s01:~/chipyard/generators/gemmini$ ./scripts/run-spike.sh resnet50 *** FAILED *** (tohost = 1337)
However, when I further simplified the code to:
printf("1\n");
it worked successfully. What could be the reason for this?

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