• 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. Custom IC Design
  3. AMS simulation test failed

Stats

  • Locked Locked
  • Replies 9
  • Subscribers 125
  • Views 16370
  • 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

AMS simulation test failed

chofie
chofie over 5 years ago

I am getting the error below when I try to netlist and run AMS simulation. I am not sure what the problem is. Please help if somebody know how to fix this error.

*Error* index:argument #1 should be a string (type template = "tS") - nil

In this schematic, there are three same pulse signal suppliers, two exactly same verilog blocks, and one OR-gate which is used from ahdlLib.

Logic of two verilog blocks: 

module half_adder(a, ,b, s, c);

input a;

input b;

output s;

output c;

assign s=a^b;

assign c=a&b;

endmodule

config details are showing below. Please take look if it is helpful.

I'd appreciate any suggestions for fixing this error. 

Thank you very much,

Chofield.

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 5 years ago

    This is suggesting some uncaught low-level error - usually that error would just indicate that something in the code has failed to read a string from somewhere but didn't check that and then failed when it tried to process the string. Hard to diagnose...

    So, some things that may help narrow it down:

    1. Which IC version and simulator version are you using? Help->About in the CIW will tell you this (the simulator version can be found by typing "irun -version" in the terminal window)
    2. Which netlister are you using under Simulation->Netlist and Run Options in ADE? Is it Cellview-based, OSS or Unified Netlister?
    3. Can you type _stacktrace=50 (yes, with an underscore) and try to reproduce the problem? You should get a longer stack trace and if so, please post it here.

    Andrew.

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • chofie
    chofie over 5 years ago in reply to Andrew Beckett

    Hi, Mr. Beckett

    Thanks for help firstly, I checked those things you suggested. Please see answer blow. 

    So, some things that may help narrow it down:

    1. Which IC version and simulator version are you using? Help->About in the CIW will tell you this (the simulator version can be found by typing "irun -version" in the terminal window.
      1. The IC Version is IC6.1.7 - 64b.500.18 and the simulator version irun(64) 15.20-s030.
    2. Which netlister are you using under Simulation->Netlist and Run Options in ADE? Is it Cellview-based, OSS or Unified Netlister?
      1. The netlister I used under simulation is AMS Unified Netlister with irun which is recommended.
    3. Can you type _stacktrace=50 (yes, with an underscore) and try to reproduce the problem? You should get a longer stack trace and if so, please post it here.     

    Best Regards,

    Ciao.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • chofie
    chofie over 5 years ago in reply to Andrew Beckett

    Hi, Mr. Beckett

    Thanks for help firstly, I checked those things you suggested. Please see answer blow. 

    So, some things that may help narrow it down:

    1. Which IC version and simulator version are you using? Help->About in the CIW will tell you this (the simulator version can be found by typing "irun -version" in the terminal window.
      1. The IC Version is IC6.1.7 - 64b.500.18 and the simulator version irun(64) 15.20-s030.
    2. Which netlister are you using under Simulation->Netlist and Run Options in ADE? Is it Cellview-based, OSS or Unified Netlister?
      1. The netlister I used under simulation is AMS Unified Netlister with irun which is recommended.
    3. Can you type _stacktrace=50 (yes, with an underscore) and try to reproduce the problem? You should get a longer stack trace and if so, please post it here.     

    Best Regards,

    Ciao.

    • 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