FoRUmS

Anyone compile SweRvolfSoC with verilator on MAC to get Vrvfpgasim successufully?  

 

hardconjee
(@hardconjee)
New Member
Joined: 5 months ago
Posts: 1
24/06/2021 8:30 am  

I compiled SweRvolfSoC with verilator on MAC to get Vrvfpgasim.

I tried verilator version 3.88, 4.02 and 4.20, got different errors.

As far as I know it can be done with 4.02 on Windows, thus I attached the error info with this post.


ReplyQuote
Topic Tags
guanyang.he
(@guanyang-he)
Member Admin
Joined: 1 year ago
Posts: 33
20/07/2021 3:08 pm  

 

- Problem: missing

argp.h

 header (part of glibc) 

 

- Solution: install the argp-standalone package using Mac Ports or Brew, e.g.: 

 

sudo port install argp-standalone

 

With this package I am able to compile Vrvfpgasim without problems using verilator 4.034 (4.034 2020-05-03 rev v4.032-127-g9dc65df98) with:

make clean

make

 

 翻译:

- 问题:缺少以下头文件(glibc的部分)

argp.h

 

- 解决方法: 使用 Mac Ports 或者 Brew 安装以下软件包:argp-standalone

 

sudo port install argp-standalone

 

安装此软件包后,我可以通过以下步骤顺利编译 Vrvfpgasim,使用的 verilator 版本为: 4.034 (4.034 2020-05-03 rev v4.032-127-g9dc65df98)。

make clean

make

 

—— From Luis Pinuel Moreno 

This post was modified 2 months ago by guanyang.he

ReplyQuote