Closed jeremybennett closed 10 months ago
This is a trivial mistake that's been lying around for months. I only missed it because I was using a legacy build directory which happened to have an old version in the correct place.
This is a trivial mistake that's been lying around for months. I only missed it because I was using a legacy build directory which happened to have an old version in the correct place.
This looks like a good fix @jeremybennett, thanks. I see that pre_build_scripts
is defined in two places: filesets:pre_build_scripts:
and scripts:pre_build_scripts:
. Just to I can reproduce the failure and fix, what command-line did you use?
This looks like a good fix @jeremybennett, thanks. I see that
pre_build_scripts
is defined in two places:filesets:pre_build_scripts:
andscripts:pre_build_scripts:
. Just to I can reproduce the failure and fix, what command-line did you use?
I used make model-lib
with Verilator 4.203
Hmmm. Something is not right. When I perform a fresh clone of this repo, the make model-lib
command works as expected using Verilator 4.226. My commands:
$ git clone git@github.com:openhwgroup/core-v-mcu.git master
$ cd master
$ make model-lib
If I make the change in this PR to my local copy of core-v-mcu.core
, the compile fails as follows:
INFO: Running pre_build script pre_build_scripts
sh: 0: cannot open src/openhwgroup.org_systems_core-v-mcu_0/rtl/core-v-mcu/scripts/vedit.sh: No such file
ERROR: Failed to build openhwgroup.org:systems:core-v-mcu:0 : pre_build script 'pre_build_scripts': ['sh', 'src/openhwgroup.org_systems_core-v-mcu_0/rtl/core-v-mcu/scripts/vedit.sh', 'openhwgroup.org_systems_core-v-mcu_0.vc'] exited with error code 2
I doubt (hope?) that the differences between Verilator v4.203 and v4.226 would not explain the differences...