zoukankan      html  css  js  c++  java
  • error : uvm_component_utils is undefined

    the simple reason is the uvm_macros.svh not included in the top file

    and note: there is no need to add +incdir+ to look for the svh

    because the questa will automatically fix the path when import uvm_pkg

    ** Error: Environment.sv(16): (qverilog-2163) Macro `uvm_component_utils is undefined.

    ** Error: Environment.sv(16): near "(": syntax error, unexpected '(', expecting function or task
    ** Error: Environment.sv(19): near "new": syntax error, unexpected new, expecting TYPE_IDENTIFIER
    ** Error: Environment.sv(24): near "build": syntax error, unexpected IDENTIFIER, expecting TYPE_IDENTIFIER
    ** Error: Environment.sv(30): near "endfunction": syntax error, unexpected endfunction
    ** Error: Environment.sv(33): near "connect": syntax error, unexpected IDENTIFIER, expecting TYPE_IDENTIFIER
    ** Error: Environment.sv(37): near "endfunction": syntax error, unexpected endfunction
    ** Error: test.sv(12): (qverilog-2163) Macro `uvm_component_utils is undefined.
    ** Error: test.sv(19): (qverilog-2730) Undefined variable: 't_env'.
    ** Error: test.sv(22): near "task": syntax error, unexpected task, expecting IDENTIFIER or TYPE_IDENTIFIER
    ** Error: test.sv(25): near "endtask": syntax error, unexpected endtask
    ** Error: top.sv(33): (qverilog-2730) Undefined variable: 'Clock'.
  • 相关阅读:
    jQuery 语法
    HTML DOM Document 对象
    JavaScript
    JavaScript Cookies
    JavaScript 计时事件
    九度OJ 1352 和为S的两个数字
    九度0J 1374 所有员工年龄排序
    九度OJ 1373 整数中1出现的次数(从1到n整数中1出现的次数)
    九度OJ 1370 数组中出现次数超过一半的数字
    九度OJ 1361 翻转单词顺序
  • 原文地址:https://www.cnblogs.com/testset/p/3426975.html
Copyright © 2011-2022 走看看