Skip to content

Error with modifying resnet50.c #372

@zhangjie0514

Description

@zhangjie0514

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions