Quantcast
Channel: Cadence Functional Verification Forum
Viewing all articles
Browse latest Browse all 1069

ncvlog: *E,EXPKWS - Error while running OVM env

$
0
0

Hi,

ncvlog: *E,EXPKWS (../env/test.sv,4|29): Expecting port direction keyword 'input', 'output', 'inout', or 'ref'.
(`define macro: ovm_field_utils_begin [/tools/ovm/ovm-2.0.2/src/macros/ovm_object_defines.svh line 131], `define macro: ovm_component_utils_begin [/tools/ovm/ovm-2.0.2/src/macros/ovm_object_defines.svh line 308], `define macro: ovm_component_utils [/tools/ovm/ovm-2.0.2/src/macros/ovm_object_defines.svh line 300], `include file: ../env/test.sv line 4, file: ../env/top.sv line 27)

Top file:
import ovm_pkg::*;
`include "ovm_macros.svh"
module top;
include "rffe_file_list.svh" // RTL files

Using inline command to run in nc:
irun -ovmhome $OVM_HOME +incdir+$OVM_HOME/src -sysv_ext .sv,.svh -access +rwc -sv +incdir+../env ../env/top.sv +incdir+../../rtl -f list.f +OVM_TESTNAME=test

OVM version : ovm - 2.0.2

irun version: irun    10.20-s113

I am new OVM....I am getting this type of error in ovm env wherever i have used ovm macros, ovm classes and ovm methods....what could be the reason for this? It will be very nice if any one can provide a reference code in OVM for simple project.

Thanks in advance....Thyagu


Viewing all articles
Browse latest Browse all 1069

Trending Articles