当前位置:网站首页>【手把手带你学UVM】~ 记录遇到的一切错误
【手把手带你学UVM】~ 记录遇到的一切错误
2022-07-16 10:26:00 【AI很不错呦】
目录:
0. 前言
目前,个人学习过程中总结了不少相关的知识,现在初步打算是等我全部学完之后,回过头来会出一个专栏,目前暂定为《手把手带你学UVM》,此专栏从0开始动手学习UVM,敬请期待吧!!!
这里我主要是先记录一些我在筹备该专栏的时候,自己犯下的错误,这可是用自身经历换来的呀!或许也就是你踩到的坑,话不多说,我们开始吧!
1. VCS compiler ‘VCS_HOME‘ not found.
1.1 问题描述
Error-[VCS_COM_UNE] Cannot find VCS compiler VCS compiler 'VCS_HOME' not found. Environment variable /usr/synopsys/G-2012.09/linux is selecting a directory in which there isn't a compiler 'linux' for a machine of this type 'VCS_HOME'. Please check whether 'VCS_HOME' is incorrect; if not, see below.
1.2 解决办法
出现这样的问题是因为装的VCS版本是64位的,所以要使用 -full64 来说明,如下:
2. Source file “xxx” cannot cannot be opened for reading due to ‘No such file or directory’.
2.1 解决办法
这种情况大部分都是由Makefile中的命令错误导致的,好好检查一下自己的语法和正确性。
2.2 举例
Source file “uvm_macros.svh” cannot be opened for reading due to ‘No such file or directory’.
通过检查自己的代码,发现了问题所在,是应为把 _SV 写成了 .SV,导致UVM库没法导入进来了,如下图所示:
3. UVM_FATAL @ 0.0ns: reporter [NOCOMP] No components instantiated.
3.1 问题描述
这个报错大概的意思你在调用run_test() 之前,你没有实例化对象,换言之,你必须传一个TESTNAME进去,不管是你在Makefile中默认的还是通过平台传进去的参数,至少得有一个。我的错误在于Makefile中的+UVM_TESTNAME=的时候,写成了+UVM TESTNAME= ,少了_ ,你说这能传参进去吗???
3.2 解决办法
修改Makefile文件,之后再试试!!!
=========================================================================
目前就遇到这些错误,总之,还得要细心+多加练习,必能提高!!!加油吧
==========================================================================
声明
本人所有系列的文章,仅供学习,不可商用,如有侵权,请告知,立删!!!
本人主要是记录学习过程,以供自己回头复习,再就是提供给后人参考,不喜勿喷!!!
如果觉得对你有用的话,记得收藏+评论!!!
边栏推荐
猜你喜欢

【今天的小go同学要去丢垃圾(3)】

OPPO、一加将在德国禁售?原来是被“专利流氓”诺基亚盯上了!

剑指 Offer II 041. 滑动窗口的平均值

《經濟日報》點贊RPA領軍企業弘璣,助力金融機構數字化轉型

INSET: Sentence Infilling with INter-SEntential Transformer
![[bioinformatics] introductory practice and growth camp of imaging omics](/img/c5/29d9588d1fc5c30ba9242555358531.png)
[bioinformatics] introductory practice and growth camp of imaging omics

3D激光SLAM:ALOAM---Ceres 优化部分及代码分析

The latest version 0.3 of Infini console, which has been waiting for a long time, is officially released!

Mysql启动选项和配置文件

最全攻略合集!超强AI作画工具 Midjourney 开放公测!快来构建你的幻想元宇宙!...
随机推荐
【node+ts】搭建node+typescript项目
共用体与枚举类型
总结:Prometheus匹配模式
Irregular area of OSPF
Introduction to camera attributes of unity Foundation
【今天的小go同学要去丢垃圾(3)】
系统架构设计师备考经验分享:一场近三个月的硬仗
Economic Daily praised Hongji, a leading RPA enterprise, for helping financial institutions with their digital transformation
软件测试需要学什么?年薪30W+的测试工程师需要掌握哪些技能?
[Gu Yue 21 lecture] ROS introduction series (3) -- programming implementation of client and server + programming implementation of custom service data
MySQL advanced (IV) talk about the transaction locking mechanism in MySQL
【TensorFlow2.9】泰坦尼克号生存预测—结构化数据建模流程
@Conditional的简单使用
结构思考力
The bottom implementation of block
查找——二叉排序树(二)
想通讯?谈钱多俗,谈ProtoBuf
AP statistics
Intel x datawhale joint certification release!
JVM architecture resolution