• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Functional Verification
  3. ncvlog: *E,EXPKWS - Error while running OVM env

Stats

  • Locked Locked
  • Replies 0
  • Subscribers 65
  • Views 882
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

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

Thyag Gurajala
Thyag Gurajala over 12 years ago

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

  • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information