• 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. NULL pointer dereference

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 64
  • Views 18221
  • 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

NULL pointer dereference

archive
archive over 17 years ago

Hi,

I am building an uVC using uRM in SVCB for the First time.
When I wanted to Access the Transaction item from the Driver using "get_next_item" predefined task(defined in urm_driver class library) it is generating an error as,

Error!  NULL pointer dereference
          File: /tools/cadence/ius/tools/urm/src/urm/sv/urm_unit.svh, line = 119, pos = 25
         Scope: top.urm_unit::m_get_message_handler
          Time: 20 NS + 1
Verilog Stack Trace:
0: function top.urm_unit::m_get_message_handler at /tools/cadence/ius/tools/urm/src/urm/sv/urm_unit.svh:119
1: task top.urm_driver::get_next_item at /tools/cadence/ius/tools/urm/src/uvc/sv/urm_driver.sv:546
2: task top.master_bfm@876_2.drive_transfers at   sv/master_bfm.sv:85
3: process in top.master_bfm::run at /sv/master_bfm.sv:58

Infact I am not Using any TLM ports as of now.
I am Puzzled by this error, I will be Thankful for the Suggestions.

Regards,
Ramesh Pal Yadav


Originally posted in cdnusers.org by ramesh_pal_yadav
  • Cancel
Parents
  • archive
    archive over 17 years ago

    Hi Dave,
    I dont have a "Sequencer" Instance, Instaed i am accessing the "get_next_item" task from the urm_driver Base Class Library via.. urm_driver_set_sequences_and_item Macro.

       In BFM i have          
     driver.get_next_item(seq_item);    where Driver is the instance of my_driver which inherits urm_driver
      In my_driver i have
     `
    urm_driver_set_sequences_and_item(sips_apb_master_transaction) 
    This macro initializes the sequence factory for the urm_driver base class method usage and defines the user-defined data item to use when executing urm_simple_sequence.

    This is how I have Implemented uVC Refering to the XBUS golden uVC example.
     
    I coudnt get what "Configuring the Sequencer" mean? ?
    I haven't started Generation yet and want keep the Basic SIMPLE sequence.I have just made the Environment UP and Proceeding to Work on BFM.

    Regards,
    Ramesh Pal
     


    Originally posted in cdnusers.org by ramesh_pal_yadav
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • archive
    archive over 17 years ago

    Hi Dave,
    I dont have a "Sequencer" Instance, Instaed i am accessing the "get_next_item" task from the urm_driver Base Class Library via.. urm_driver_set_sequences_and_item Macro.

       In BFM i have          
     driver.get_next_item(seq_item);    where Driver is the instance of my_driver which inherits urm_driver
      In my_driver i have
     `
    urm_driver_set_sequences_and_item(sips_apb_master_transaction) 
    This macro initializes the sequence factory for the urm_driver base class method usage and defines the user-defined data item to use when executing urm_simple_sequence.

    This is how I have Implemented uVC Refering to the XBUS golden uVC example.
     
    I coudnt get what "Configuring the Sequencer" mean? ?
    I haven't started Generation yet and want keep the Basic SIMPLE sequence.I have just made the Environment UP and Proceeding to Work on BFM.

    Regards,
    Ramesh Pal
     


    Originally posted in cdnusers.org by ramesh_pal_yadav
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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