Surelog是一个支持SystemVerilog 2017的Pre-processor、Parser、UHDM Compiler,可用于语法检查、仿真、综合、形式验证工具的前端。
官网安装说明是基于Ubuntu的,https://github.com/alainmarcel/Surelog/blob/master/INSTALL.md,然而Centos和Ubuntu的依赖包的名字有所差异,下面是本人在Centos8上的安装过程记录,希望对爱好者有帮助。
wget https://github.com/Kitware/CMake/releases/download/v3.18.0/cmake-3.18.0.tar.gz tar -zxvf cmake-3.18.0.tar.gz cd cmake-3.18.0 ./bootstrap make make install
Ref: https://cmake.org/download/#latest https://linux4one.com/how-to-install-cmake-on-centos-8
yum install pkgconf-pkg-config
yum install swig
yum install libuuid-devel
dnf install https://extras.getpagespeed.com/release-el8-latest.rpm dnf install gperftools-devel
yum install java-11-openjdk-devel
Ref: https://www.oracle.com/java/technologies/javase-jre8-downloads.html https://phoenixnap.com/kb/how-to-install-java-centos-8
yum install tcl
yum install python3 yum install python3-devel
git clone https://github.com/alainmarcel/Surelog cd Surelog git submodule update --init --recursive
make make install
surelog -help
cd build surelog -writepp -parse ../tests/UnitElabBlock/top.v
本文分享自微信公众号 - ExASIC(ExASIC),作者:陈锋
原文出处及转载信息见文内详细说明,如有侵权,请联系 yunjia_community@tencent.com 删除。
原始发表时间:2020-07-25
本文参与腾讯云自媒体分享计划,欢迎正在阅读的你也加入,一起分享。
我来说两句