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

ImportError: No module named builtins #243

Open
thala7 opened this issue Feb 22, 2017 · 0 comments
Open

ImportError: No module named builtins #243

thala7 opened this issue Feb 22, 2017 · 0 comments

Comments

@thala7
Copy link

thala7 commented Feb 22, 2017

Hi ,
I am working with SocRocket TLM model in my project. While Executing the program I am getting this error .
How could i solve this problem?.
Thank you
with regards
Karthik



[karthik7@eduroam-pool12-1346 core]$ core/tools/execute leon3mp sdram hello
/home/karthik7/socrocket2/core/build/core/platforms/leon3mp/leon3mp.platform --loadelf "rom=/home/karthik7/socrocket2/core/build/core/software/prom/sdram/sdram.prom" --loadelf "sdram=/home/karthik7/socrocket2/core/build/core/software/grlib_tests/hello.sparc(0x40000000)" --intrinsics "leon3_0=/home/karthik7/socrocket2/core/build/core/software/grlib_tests/hello.sparc(standard)"

    SystemC 2.3.1-Accellera --- Feb 22 2017 12:15:17
    Copyright (c) 1996-2014 by all Contributors,
    ALL RIGHTS RESERVED

Traceback (most recent call last):
File "/home/karthik7/socrocket2/core/build/.conf_check_venv/lib/python2.7/site-packages/usi/init.py", line 12, in
from builtins import object
# ImportError: No module named builtins
core/tools/execute: line 31: 26971 Segmentation fault (core dumped) $platform --loadelf "rom=$prom" --loadelf "sdram=$ram(0x40000000)" --intrinsics "leon3_0=$ram(standard)" $@

real 0m0.586s
user 0m0.089s
sys 0m0.040s
!!! Failed! Try:
gdb -ex run -ex bt --args /home/karthik7/socrocket2/core/build/core/platforms/leon3mp/leon3mp.platform --loadelf "rom=/home/karthik7/socrocket2/core/build/core/software/prom/sdram/sdram.prom" --loadelf "sdram=/home/karthik7/socrocket2/core/build/core/software/grlib_tests/hello.sparc(0x40000000)" --intrinsics "leon3_0=/home/karthik7/socrocket2/core/build/core/software/grlib_tests/hello.sparc(standard)

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