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

problems during Step 5 of the Quickstart Guide: Run cocotb simulation on your design #387

Open
onestwob opened this issue Jan 23, 2025 · 0 comments

Comments

@onestwob
Copy link

onestwob commented Jan 23, 2025

Hi,

I have encountered some problems during Step 5 of the Quickstart Guide: Run cocotb simulation on your design.

To run the gen_gpio_defaults.py script to generate caravel_core.v, I ran the following command:

python3 $CARAVEL_ROOT/scripts/gen_gpio_defaults.py

The error log was generated as follows:
...
Step 2: Modify top-level layouts to use the specified defaults.
Traceback (most recent call last):
File "/home/onestwob/projects/caravel_soc/caravel_user_project/caravel/scripts/gen_gpio_defaults.py", line 342, in
with open(caravel_path + '/mag/caravel_core.mag', 'r') as ifile:
FileNotFoundError: [Errno 2] No such file or directory: '/home/onestwob/projects/caravel_soc/caravel_user_project/caravel/mag/caravel_core.mag'

I ignored this error and successfully ran the RTL simulation. However, during the GL simulation, the same error occurred again.

The error seems to occur due to the absence of caravel_core.mag. I looked into the previous issues, but I couldn't find a solution to it.

Could you please help me with this issue?

Jongnam

@onestwob onestwob changed the title problems during 5. Run cocotb simulation on your design by Quickstart Guide. problems during Step 5 of the Quickstart Guide: Run cocotb simulation on your design. Jan 23, 2025
@onestwob onestwob changed the title problems during Step 5 of the Quickstart Guide: Run cocotb simulation on your design. problems during Step 5 of the Quickstart Guide: Run cocotb simulation on your design Jan 23, 2025
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