• 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 SKILL
  3. Error when calling and evaluating skill function in ADE...

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 144
  • Views 15355
  • 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 when calling and evaluating skill function in ADE-L Parametric Analysis and in ADE-XL

sun99
sun99 over 12 years ago

Dear all,

 

I've got a problem to which I couldn't find answer.

I've made a customized skill function to do calculation and evaluation after PSS analysis. It takes in time domain waves from PSS and returns a number. I create a new output parameter  in the output window of my ADE-L which calls this function, it works fine and returns the number. 

However, when I run Parametric Analysis in ADE-L, or run it in ADE-XL, evaluation fails and I get the following error. 

 

ERROR (ADE-1057): Could not evaluate expression

        Name:'MyFunction'

        Expression:'MyFunction((v("/OUTP" ?result "pss_td") - v("/VSS" ?result "pss_td")) (VOUT_H / 2) )'

     because of the following error(s)

        ("ilGetNumber" 0 t nil ("*Error* ilGetNumber: arg must be a number" srrWave:0x2aacaa20))

     Ensure that the definition of the expression is correct.

*Error* ("ilGetNumber" 0 t nil ("*Error* ilGetNumber: arg must be a number" srrWave:0x2aacb060))

 

 

 The skill functions I call in my function are following:

cross()

drGetWaveformXVec()  drGetWaveformYVec()

drVectorLength()

drCreateVec()

drGetElem()

drSetElem()

drCreateWaveform()

ymax()  ymin() 

 

There isn't any ilGetNumber() function in my code. Very weird.

I guess that in order to call a skill function in Parametric Analysis or in ADE-XL, I need to change something in my code. But I couldn't find any information. Could anybody help me on this? Many thanks!

 

Best Regards,

Mingxu 

  • Cancel
  • theopaone
    theopaone over 12 years ago

     The error is from a SKILL implementation for the tool. If you set the stack trace to a number greater than one, you will get more debugging information:

    (sstatus stacktrace 5)

     This should print out the name of the function generating the error.

    That said, I suspect that you are passing a wave object  (srrWave:0x2aacaa20) into the function rather than a number which it is expecting. Check the values of the arguments to the function to make sure they are correct.

    Ted

    • 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