• 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. SKILL versus SKILL++

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 143
  • Views 14128
  • 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

SKILL versus SKILL++

gsimard
gsimard over 16 years ago
Hello everyone,

I am trying to use functions reserved to SKILL++ in my code but apparently it's not enabled on my installation. As an example, when I try this in the CIW:

(do ((x 0 x+1)) (print x))
Message: *Error* do: not supported in SKILL - do(((x 0 (x + 1))) print(x))

Quite clearly it's not expecting SKILL++ there. I could do without a do loop, but I'd really like to have access to what SKILL++ is about, that is, closures. For example:

(let ((x 0))
(defun total (y)
(setq x (plus x y))))

(total 3)

Message: *Error* eval: unbound variable - x

While in SKILL++ I would expect the result to be 3, x being a local state to the function total.

Is there a way to enable SKILL++ evaluation ?


Thank you,
Guillaume
  • Cancel
  • Andrew Beckett
    Andrew Beckett over 16 years ago

    In the CIW, if you type first:

    toplevel('ils)

    Then you can enter SKILL++ code. You can enter resume() to return to the SKILL toplevel.

    Or if the source is in a file, give it a suffix ".ils". Please read the chapters on SKILL++ in the SKILL Language User Guide - it's covered there - and in particular talks about calling SKILL from SKILL++ and vice versa, and how variables are shared between the two environments.

    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