gemmini
gemmini copied to clipboard
Error running build-verilator.sh --debug
Hi, I have followed this commands,
git clone https://github.com/ucb-bar/chipyard.git
cd chipyard
git checkout 117624d8eea27bafd613eec09e9b9b3e31239e08
./scripts/init-submodules-no-riscv-tools.sh
./scripts/build-toolchains.sh esp-tools
source env.sh
cd generators/gemmini
git fetch && git checkout v0.6.4
git submodule update
cd -
cd toolchains/esp-tools/riscv-isa-sim/build
git fetch && git checkout 090e82c473fd28b4eb2011ffcd771ead6076faab
make && make install
cd chipyard/generators/gemmini
./scripts/setup-paths.sh
cd chipyard/generators/gemmini/software/gemmini-rocc-tests
./build.sh
after that, I've tried running the script ./scripts/build-verilator.sh --debug demonstrated in the tutorial ( with all the relevant environment settings sourced ). I got the following error:
I suspect you may not be on Gemmini's correct commit.
The line which failed in the error message is supposed to look like this:
https://github.com/ucb-bar/gemmini/blob/master/src/main/scala/gemmini/PixelRepeater.scala#L87
whereas in your error message, it reads:
when(reset.toBool()) {
Can you check that your Gemmini repo is actually on the v0.6.4
tag?