pulp-platform / pulpissimo

This is the top-level project for the PULPissimo Platform. It instantiates a PULPissimo open-source system with a PULP SoC domain, but no cluster.
Other
389 stars 169 forks source link

VSIM_PATH and missing vectors dir? #404

Open lmg260a opened 1 year ago

lmg260a commented 1 year ago

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)