• 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. Error in Stimuli File

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 124
  • Views 14071
  • 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

Error in Stimuli File

archive
archive over 19 years ago

I am trying to add a VPWL source through a stimuli file rather than adding thorugh graphical interface in Analog Design Environment....It shows error with "[]" brackets telling me tht "[" should be followed bt # symbol. ..Actually I am trying to add a time/voltage pairs through wave=[...]  in vsource and type=pwl option....and when I change them to () from [] the file read in goes correctly but the spectre simulator while circuit read-in says syntax error. Can somebody throw some suggestion for me to do this without errors.

My cadence version is IC5.1


Originally posted in cdnusers.org by gunturikishore28
  • Cancel
  • archive
    archive over 19 years ago

    Hi, Can you put in the exact error message from spectre? Without that I cannot be sure what the issue is. Here's a guess though: put the escape character before the [ For example, change this: _vin (in 0) vsource wave=[ 0 0 1u 2 ] type=pwl to this: _vin (in 0) vsource wave=\[ 0 0 1u 2 ] type=pwl Regards, Eric


    Originally posted in cdnusers.org by EricCDN
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • archive
    archive over 19 years ago

    Here is a typical syntax for a vpwl

    V4 (net06 net07) vsource type=pwl wave=[ 0 0.0 1 1.0 2 2.0 ]

    If this fails for you, make sure to name the include file something.scs (the scs suffix is key). Otherwise you need to add the following header to the include file:

    simulator lang=spectre


    Originally posted in cdnusers.org by AMSamirj
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • archive
    archive over 19 years ago

    Hi EricCDN,

    Thank You for your suggestion. It works with your given modification with "\". I think the conversion tool provided with Cadence does not include that "\" while converting from SPICE to Spectre stimulus files. That might be creating problem. Thnaks all for your suggestions again.


    Originally posted in cdnusers.org by gunturikishore28
    • 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