chipsalliance / rocket-chip

Rocket Chip Generator
Other
3.1k stars 1.1k forks source link

unable to build the C emulator due to missing verilog.h file #3656

Open nhuynh368 opened 2 weeks ago

nhuynh368 commented 2 weeks ago

Type of issue: bug report

Impact: no functional change

Other information

Currently, when I try to build the C emulator, the Verilator version for the emulator failed to build due to a missing Verilog.h file. I'm guessing this is due to an incorrect bison installation, but bison was installed correctly on the PATH. Here is the build log:

https://pastebin.com/ceKsZwrR

If the current behavior is a bug, please provide the steps to reproduce the problem:

What is the current behavior? Verilator installation failed mid parse.

What is the expected behavior? Verilator installs correctly and the C emulator is built correctly.

Please tell us about your environment: