add CV_RESULTS variable to retarget results directories
Created by: strichmo
Task Outcome
Provide support for a variable (CV_RESULTS) that can be provided on make command lines or in an environment that will retarget results directories if specified. This could have some utility when developing core-v-verif in corporate environments or other design environments that may predefine generated file locations outside the repository.
- Default results location
cv32e40p/sim/uvmt/xrun_results/hello-world/xrun-hello-world.log
- New results location if CV_RESULTS is defined
CV_RESULTS/xrun_results/hello-world/xrun-hello-world.log
Location Information
core-v-verif/mk
Completion Criteria
- Ensure that default behavior is unchanged
- Test applying the CV_RESULTS variable on a make command line
- Test applying the CV_RESULTS variable as an environment variable
- Test overriding a CV_RESULTS variable on the command line when already defined in an environment