Notifications
Clear all

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

 

(@hardconjee)
New Member
Joined: 4 years ago
Posts: 1
Topic starter  

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.


   
Quote
Topic Tags
(@guanyang-he)
Estimable Member
Joined: 4 years ago
Posts: 44
 

 

- 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 3 years ago by guanyang.he

   
ReplyQuote