• 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. Mixed-Signal Design
  3. Cadence Virtuoso error - sv_seghandler while using irun

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 64
  • Views 3383
  • 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

Cadence Virtuoso error - sv_seghandler while using irun

Shruthi Suresh
Shruthi Suresh over 4 years ago

Hello,
I am an undergraduate student at VIT University. I am trying to run a
Verilog-AMS project using Cadence Virtuoso. I keep getting the following
error.

Opening the PSF file ./amsControlSpectre.raw/finalTimeOP.info ...

ncsim: *F,INTERR: INTERNAL EXCEPTION

Observed simulation time : 3412 US + 4

-----------------------------------------------------------------

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: ncsim(64) 15.20-s045

 HOSTNAME: cad013

 OPERATING SYSTEM: Linux 2.6.32-71.el6.x86_64 #1 SMP Wed Sep 1 01:33:01
EDT 2010 x86_64

 MESSAGE: sv_seghandler - trapno -1 addr((nil))

-----------------------------------------------------------------

Below is the detailed description of our approach.

We are trying to run the BAM model in this repository.
https://urldefense.com/v3/__https://github.com/PhdBoLi/BAM__;!!EHscmS1ygiU1lA!StNzWJyFdKSndkEAPHyNOcMs5J3YV0HHvVVmkMucVgJ_dzGW-ndQ43-_szF-iNpp$

While running the code, we used two methods, both of which used the irun
command.

The inputs were provided in the following format. The alphabets and letters
in a 6x4 matrix, see pg. 9, fig 11(a), was converted into a 24x1 vector
(translation happened row-wise)

011010011001111110011001

111010011110100110011110

011010011000100010010110

We tried using the following two commands:

 1.

 irun *.vams -top Top_Recall_Only -spectre_args +aps +turbo +mt=4
 ./amsControlSpectre
 -

 Upon running this command, Cadence ran a transient analysis for
 approximately 7-8 hours, after which the following error was thrown:

Opening the PSF file ./amsControlSpectre.raw/finalTimeOP.info ...

ncsim: *F,INTERR: INTERNAL EXCEPTION

Observed simulation time : 3412 US + 4

-----------------------------------------------------------------

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: ncsim(64) 15.20-s045

 HOSTNAME: cad013

 OPERATING SYSTEM: Linux 2.6.32-71.el6.x86_64 #1 SMP Wed Sep 1 01:33:01
EDT 2010 x86_64

 MESSAGE: sv_seghandler - trapno -1 addr((nil))

-----------------------------------------------------------------

 1.

 Using the file sim3.sh (attached).
 -

 In this simulation file there are some parameters that were removed
 from the original authors file such as -cdslib, -hdlvar, -run,
-ampartinfo,
 -amsformat, as were not sure what arguments to provide to these parameters
 -

 In this case, no transient analysis was run, but ultimately the error
 obtained is the same as before.

Simulation log file: https://urldefense.com/v3/__http://sprunge.us/lzTbVj__;!!EHscmS1ygiU1lA!StNzWJyFdKSndkEAPHyNOcMs5J3YV0HHvVVmkMucVgJ_dzGW-ndQ43-_s08gWLYV$

Error file: https://urldefense.com/v3/__http://sprunge.us/QX46xe__;!!EHscmS1ygiU1lA!StNzWJyFdKSndkEAPHyNOcMs5J3YV0HHvVVmkMucVgJ_dzGW-ndQ43-_s3FR2NTX$

The above log files are attached with this email for your convenience.
Kindly let me know how I can mitigate this error.
Thank you for your time.

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 4 years ago

    First of all, you posted this in the Feedback, Questions and Suggestions forum, which is for issues with the forum system, not for technical questions. So I moved this to a more appropriate forum.

    Secondly, it's unclear how you transformed the data as provided on that GitHub into something that runs. You didn't include the "sim3.sh", although I modified the existing file to try to get it to run. I then realised that Generated.vams doesn't exist, so I tried just concatenating all of the individual files within the cellViews:

    cat */verilogams/verilog.vams > Generated.vams

    However, it still fails because there are various blocks missing - here's some of the errors:

    xmelab: *E,CUVMUR (./Generated.vams,847|27): instance 'Top_Recall_Only.Xsrc[1].I_D2Aconnect_x' of design unit 'D2Aconnect' is unresolved in 'worklib.Top_Recall_Only:vams'.
    A2Dconnect I_A2Dconnect_1(
    |
    xmelab: *E,CUVMUR (./Generated.vams,1219|24): instance 'Top_Recall_Only.X[1].xcell@Xneuron<module>.I_A2Dconnect_1' of design unit 'A2Dconnect' is unresolved in 'worklib.Xneuron:vams'.
    NotGate I_NotGate_1(
    |
    xmelab: *E,CUVMUR (./Generated.vams,1239|18): instance 'Top_Recall_Only.X[1].xcell@Xneuron<module>.I_NotGate_1' of design unit 'NotGate' is unresolved in 'worklib.Xneuron:vams'.
    JKv1 I_jkv1_1(
    |
    xmelab: *E,CUVMUR (./Generated.vams,1247|12): instance 'Top_Recall_Only.X[1].xcell@Xneuron<module>.I_jkv1_1' of design unit 'JKv1' is unresolved in 'worklib.Xneuron:vams'.
    Evalue I_evalue_1(
    |
    xmelab: *E,CUVMUR (./Generated.vams,67|16): instance 'Top_Recall_Only.X[1].arb_x@Arb<module>.I_evalue_1' of design unit 'Evalue' is unresolved in 'worklib.Arb:vams'.
    SR I_sr_1(
    |
    xmelab: *E,CUVMUR (./Generated.vams,89|8): instance 'Top_Recall_Only.X[1].arb_x@Arb<module>.I_sr_1' of design unit 'SR' is unresolved in 'worklib.Arb:vams'.
    JK_negv1 I_JK_negv1_1(
    |
    xmelab: *E,CUVMUR (./Generated.vams,1311|20): instance 'Top_Recall_Only.Y[1].ycell@Yneuron<module>.I_JK_negv1_1' of design unit 'JK_negv1' is unresolved in 'worklib.Yneuron:vams'.

    So I gave up trying to get the example to work - you'll need to provide either a complete example, or sufficient details on what is needed to make it work.

    Now, I ran with a much newer simulator version - you're using INCISIVE15.2 from 5-6 years ago, so I would strongly suggest moving to a newer release (newer releases are called XCELIUM, e.g. XCELIUM2009), together with SPECTRE19.1 or SPECTRE20.1 (newer versions will use the spectre engine from the SPECTRE release rather than something built-in).

    However, if you don't need the final operating point data, you can probably solve the crash simply by commenting out the line:

    finalTimeOP info what=oppoint where=rawfile

    from amsControlSpectre.scs

    Regards,

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • 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