• 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. Sparse array error

Stats

  • Locked Locked
  • Replies 7
  • Subscribers 65
  • Views 15067
  • 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

Sparse array error

abhingp01
abhingp01 over 15 years ago

Hi all,

I am working with cadence IUS8.2 

Following array declaration is  giving  error

----------------------------------error--------------------------------------------

ncvlog_cg: *F,INTERR: INTERNAL ERROR
-----------------------------------------------------------------
The tool has encountered an unexpected condition and must exit.
Contact Cadence Design Systems customer support about this
problem and provide enough information to help us reproduce it,
including the logfile that contains this error message.
  TOOL: ncvlog_cg       08.20-p001
  HOSTNAME: btc6l138
  OPERATING SYSTEM: Linux 2.6.9-67.ELsmp #1 SMP Wed Nov 7 13:56:44 EST 2007 x86_64
MESSAGE: vsto_ots_data - zero offset, class 529, file: /home/xyz/abc/proj/sv/sparse_memory.sv, line: 6

--------------------------Error line 6 -------------------------------------

// Sparse memory array

reg  [31:0] /*sparse*/  sparsemem[0:4_095_999];  <-------------- error on this specific line - 6

 

Regards

Abhishek

  • Cancel
Parents
  • Vinayhonnavara
    Vinayhonnavara over 15 years ago

    Hi Abhishek,

     

     Following is solution for a test-bench. I would recommend that you have an associative array (in case you are not utilizing all the elements). Just a thought why you would need such a huge array. Maybe you can revisit you are design and think of alternate ways instead of declaring a fixed array.  Also would recommend using bit instead of reg (2-state versus 4-state)

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Vinayhonnavara
    Vinayhonnavara over 15 years ago

    Hi Abhishek,

     

     Following is solution for a test-bench. I would recommend that you have an associative array (in case you are not utilizing all the elements). Just a thought why you would need such a huge array. Maybe you can revisit you are design and think of alternate ways instead of declaring a fixed array.  Also would recommend using bit instead of reg (2-state versus 4-state)

    • 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