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 to build pulpissimo #310

Closed
cortalo opened this issue Mar 11, 2022 · 6 comments
Closed

Error to build pulpissimo #310

cortalo opened this issue Mar 11, 2022 · 6 comments

Comments

@cortalo
Copy link

cortalo commented Mar 11, 2022

Hello,

I am trying to using Bender to download the subIPs and build RTL simulations, from the clean pulpissimo.
I got the error says:
** Fatal: Read failure in vlm process (0,0)
make: *** [build] Error 141
Screenshot from 2022-03-11 16-27-39

I used to use IPApproX and everything is fine, could you help me with the problem?
Thank you!

Best regards,
Long

@meggiman
Copy link
Contributor

Hi @cortalo
What version of Questasim are you using?
Also, could you show us the actual output of the commands? You piped them into less so we cannot see to full log.
This could actually be related to #309. Can you try compiling it without the -floatparameters+tb_pulp flag mentioned in this issue?
Best,
Manuel

@cortalo
Copy link
Author

cortalo commented Mar 12, 2022

Hi @meggiman
Thank you for your quick reply!
I am using Queatasim-64 10.7b_1.
Actually the Fatal: Read failure in vlm process (0,0) is exactly due to I pipe it to less, but I quit less before it finished, thus it throw an error, sorry for that.
But still I am not able to run helloworld. Since the log is quite long, I put them in the attached files.
make_checkout.log
make_build.log
helloworld_make.log

Best regards,
Long

@meggiman
Copy link
Contributor

Hi Long,

Try deleting your modelsim.ini file in the pulpissimo/sim directory and rerun the compilation for Questasim (make clean build). It looks like your modelsim.ini does not contain the mapping to the Questasim "work" library.
Best,
Manuel

@cortalo
Copy link
Author

cortalo commented Mar 12, 2022

Hi Manuel,

Unfortunately make clean build didn't solve the problem. But I found that with pulp_sdk things are working correctly on my machine. However the problem still exists when using pulp_runtime.
Thank you!
Best regards,
Long

@cortalo cortalo closed this as completed Mar 12, 2022
@bluewww
Copy link
Collaborator

bluewww commented Mar 13, 2022

It's because the bender flow requires pulp-runtime to symlink the work/ directory into the build/ folder. Currently, that patch is not in the master branch of pulp-runtime

@bluewww
Copy link
Collaborator

bluewww commented Mar 13, 2022

I'll track the bug here and get back to it when I have some time.

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

3 participants