• 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. Implementation
  3. uvm Error-[IND] Identifier not declared

Stats

  • State Not Answered
  • Replies 0
  • Subscribers 6
  • Views 7527
  • Members are here 0

uvm Error-[IND] Identifier not declared

rkaur9
rkaur9 over 3 years ago

Hello ,

My code for sequence is follows , 

`ifndef seq_stimulus
`define seq_stimulus


import uvm_pkg::*;
`include "uvm_macros.svh"

class seq_stimulus extends stimulus;

`uvm_object_utils(seq_stimulus)

stimulus req;
function new(string name = "seq_stimulus");
super.new(name);
endfunction

virtual task body();
req = stimulus::type_id::create("req");
`uvm_do(req);
`uvm_info(get_type_name(),$sformatf("data = 'h%0h,valid= 'h%0h",req.data,req.valid),UVM_HIGH)

endtask

endclass

`endif

but it gives error:

Error-[IND] Identifier not declared
/classes_v/seq_stimulus.sv, 20
Identifier 'create_item' has not been declared yet. If this error is not
expected, please check if you have set `default_nettype to none.


Error-[IND] Identifier not declared
seq_stimulus.sv, 20
Identifier 'start_item' has not been declared yet. If this error is not
expected, please check if you have set `default_nettype to none.


Error-[IND] Identifier not declared
seq_stimulus.sv, 20
Identifier 'finish_item' has not been declared yet. If this error is not
expected, please check if you have set `default_nettype to none.

please suggest thnks

  • Sign in to reply
  • 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