Using the Rocket-Chip generator I can create Verilog output and the C++ emulator using the built version of Verilator.
I'd like to use Verilator to generate SystemC code using the default config Verilog output but getting errors.
I'm using the simple command line;
verilator -Wall -sc freechips.rocketchip.system.DefaultConfig.v
And seeing errors like;
Cannot find file containing module: AsyncResetReg This may be because there's no search path specified with -I. Cannot find file containing module: plusarg_reader ...
Has anyone done this or know what I'm missing? (include path?)
Thanks