ekiwi / rfuzz

rfuzz: coverage-directed fuzzing for RTL research platform
https://people.eecs.berkeley.edu/~laeufer/papers/rfuzz_kevin_laeufer_iccad2018.pdf
BSD 3-Clause "New" or "Revised" License
97 stars 12 forks source link

`make run` error #9

Closed Donkey-Hao closed 5 months ago

Donkey-Hao commented 5 months ago

Hi, thanks for your excellent work. I followed the READMD to install and run RFUZZ, but when I run the command make run I met an Error as follows:

....
Total FIRRTL Compile Time: 1973.2 ms
[info] [0.000] Elaborating design...
coverage_byte_count: 190
input_byte_count: 8
coverage width: 1496
[info] [0.196] Done elaborating.
Computed transform order in: 84.6 ms
Total FIRRTL Compile Time: 618.8 ms
[success] Total time: 6 s, completed May 30, 2024, 11:10:17 AM
mv harness/VerilatorHarness.v /home/rfuzz/build/Sodor3Stage_VHarness.v
mv harness/E2ECoverageHarness.v /home/rfuzz/build/Sodor3Stage_E2EHarness.v
mkdir -p /home/rfuzz/build/vSodor3Stage
cd /home/rfuzz/build/vSodor3Stage && meson ../../verilator --buildtype=release \
                         -Dtrace=false -Dbuild_dir='/home/rfuzz/build' -Ddut='Sodor3Stage' \
                      && ninja
/bin/sh: 1: meson: not found
make: *** [Makefile:93: /home/rfuzz/build/Sodor3Stage_server] Error 127
root@50deed058db3:/home/rfuzz# ls build/
Sodor3Stage.e2e.toml  Sodor3Stage.toml  Sodor3Stage_E2EHarness.v          Sodor3Stage_VHarness.v
Sodor3Stage.lo.fir    Sodor3Stage.v Sodor3Stage_InstrumentationInfo.toml  vSodor3Stage
root@50deed058db3:/home/rfuzz# 

I listed the build dir but NO Sodor3Stage_server file. Should I change the Makefile? I run make clean; make run, the problem occured again. How can I fix it?

ekiwi commented 5 months ago
/bin/sh: 1: meson: not found

Looks like you need to install meson