Hello! To simulate Caravel, I'm following the inst...
# caravel
u
Hello! To simulate Caravel, I'm following the instructions provided at https://github.com/efabless/caravel_user_project_analog/blob/main/docs/source/index.rst. I've successfully built the PDK and I'm attempting to execute 'Running Full Chip Simulation,' but I'm encountering an error that says 'No rule to make target 'mprj_por.hex', needed by 'mprj_por.vvp'.' This error is perplexing because I can't find any .vvp or .hex files in the 'mprj_por' directory, and I'm unsure how to resolve it. I've attached and uploaded the relevant content for your reference. Your assistance in resolving this issue would be greatly appreciated. Thank you!
m
this is one of the things that annoys me about makefiles
and the rule might be in an included makefile, so you can't even see it
I don't have those tests (not using caraven)
you need to follow the included makefiles, find the pattern rule and work out why the hex file isn't getting created
m
If possible, I would avoid running anything with
sudo
.
1
s
@Matt Venn Did we used the same Makefile in the open MPW 7 or 8? Or did we update the Makefile in mpw-9e?
m
I usually update the whole repo at once to make sure things stay in sync
s
Are there any folks who had the same issue in mpw-9e that Yong Jin did above? He is one of our team members and has been struggling with debugging it. I am not sure if the issue is related to mpw-9e Makefile.
m
@Marwan Abbas Could you direct this inquiry to the correct person?
m
I don't have this problem with caravel_user_project, so I think it's to do with caravel_user_project_analog
m
Hi, please try running from branch
analog_project_fix
👍 1
s
@권용진학부생 Can you retry it with analog_project_fix?
u
@Mitch Bailey Thank you for your advice. But I think I would have to use
sudo
. Because there are an error like
permission denied.
@Marwan Abbas Thank you for your help. I try to run again from branch
analog_project_fix
. But It has same error. What should I do for resolve the problem?
m
@권용진학부생 See this thread that talks about setting up docker so you don’t need to run as root.
s
@Mitch Bailey Kwon Yong Jin and I have been trying to understand the caravel analog flow using the template (POR design) of caravel_user_project_analog without any modifications . It means we haven't put our own design, yet and just run the flow with the template. The issue reported above looks like something wrong in Makefile and I wonder the updated flow (analog_project_fix) had been verified.