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

VSIM_PATH and missing vectors dir? #404

Open
lmg260a opened this issue Nov 22, 2023 · 0 comments
Open

VSIM_PATH and missing vectors dir? #404

lmg260a opened this issue Nov 22, 2023 · 0 comments

Comments

@lmg260a
Copy link

lmg260a commented Nov 22, 2023

I'm running the following steps, targetting Questasim.
I'm starting with a clean directory, and have a Makefile that does all these steps (I'm showing "make -n" here).

git clone https://github.com/pulp-platform/pulpissimo.git --recursive > clone.log 2> clone.err
git clone https://github.com/pulp-platform/pulp-runtime
cd pulpissimo; make checkout > ../checkout.log 2> ../checkout.err
env > env_pre.txt
cd pulp-runtime; source configs/pulpissimo_cv32.sh
env > env_post.txt
cd pulpissimo; source setup/vsim.sh > ../vsim_setup.log 2> ../vsim_setup.err
cd pulpissimo; make build > ../vsim_build.log 2> ../vsim_build.err
cd pulpissimo/sim; make simc > ../../simc.log 2> ../../simc.err

I get two errors:

  1. in cam_vip.sv, vsim_path is "", so this results in attempting to read from "/../rtl/vip". However the pulpino scripts don't set the plusarg VSIM_PATH, so this is expected behavior. I'm assuming that I'm doing something wrong, but can't figure it out.
    frame0_path = {vsim_path, "/../rtl/vip/camera/img/frame0.img"};
    frame1_path = {vsim_path, "/../rtl/vip/camera/img/frame1.img"};

  2. something creates the vectors dir, but I can't spot what command(s) I'm missing.

** Warning: (vsim-3534) [FOFIR] - Failed to open file "./vectors/stim.txt" for reading.

No such file or directory. (errno = ENOENT) : pulpissimo/rtl/tb/tb_pulp.sv(784)

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