Skip to content

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

@onestwob

Description

@onestwob

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

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