Refresh an Existing Install - StanfordVLSI/dragonphy2 GitHub Wiki
Sometimes you need to make a local install of the DragonPHY package up-to-date after it has been sitting for some time. Here's how to do that:
- If you’re on the
master
branch, usegit pull
to make sure you have the latest code. - Re-install the
dragonphy
package withpip install -e .
in the top-level directory. This will make sure you have the latest version of all Python package dependencies. - Remove these files and folders from the
build
directory if present. (You could remove the wholebuild
directory, but you might have some synthesis or PnR results in there that you want to keep.)build/all
build/chip_src
build/cpu_models
build/tb
build/timestamps.yml
- Build the view for CPU simulation:
python make.py --view cpu
- Run the tests that you’re interested in, e.g.
> pytest tests/cpu_system_tests -s