FoRUmS

Verilator version used in RVfpga  

 

YChen
(@ychen)
Member Admin
Joined: 1 year ago
Posts: 11
18/03/2022 10:15 am  

问题:

我是来自宁波诺丁汉大学的大四学生。今天我们在按照教程配置RVfpga_GettingStartedGuide.pdf  配置时发现一个问题,我们最后解决了,因此向您团队报告一下。我们做到图里这一步的时候出现一些小问题。我们尝试在ARM架构的macbook pro上执行文档里所给的指令时是没有问题的,一切都很顺利。但是在AMD架构的ubuntu以及windows系统上(同一台机器双系统,两个系统都尝试了),make时出现都报错,来自文件 v3parsegrammar.c,报错是27行找不到verilog.h这个头文件。我们尝试了修改依赖库版本也没成功make,最后 我们尝试修改clone的git 仓库地址就好了,可能是版本问题。修改后的仓库地址为:

https://github.com/verilator/verilator [github.com]

 

Reply from Dani:

The problem is due to the Verilator version used, which is in fact the one recommended in RVfpga v1.0. From RVfpga v1.1 on, we recommend the use of a newer Verilator version.
Specifically, Verilator v4.106 should be used, as stated in Section 5.C of the GSG provided in RVfpga v2.1. This version can be installed in 2 different ways:
- Using the "git checkout v4.106" command, as explained in the GSG
- Directly downloading it from:
https://github.com/verilator/verilator/releases/tag/v4.106

This topic was modified 7 months ago by YChen

ReplyQuote