• 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. Easy way to convert a String to a Float?

Stats

  • Locked Locked
  • Replies 8
  • Subscribers 150
  • Views 21464
  • 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

Easy way to convert a String to a Float?

Patrick1982
Patrick1982 over 14 years ago

Hi Everyone,

Firstly, I am using the Cadence Pcell Layout enviroment to create/modify Pcells. So in other words I am using the pcell menu within the layout window, I am not generating the pcell using skill.  I am trying to use an already supported device and I am trying to inherit certain parameters.  However, the parameters can only be inherited as a "string".  And in order to use this parameter else where within the pcell (i.e. stretch or repitition) it needs to be a "float". 

 So is there an easy way to convert a string to a float within cadence?

 Thanks very much,

Patrick

  • Cancel
Parents
  • Patrick1982
    Patrick1982 over 14 years ago

     Hi Lawrence and Andrew,

    I've got another question for you guys.  Similar to my original question, I have a string "3u" but I want to convert it to a float, is there a way for me to just ignore the "u" in the string?

    Thanks very much,

    Patrick

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Patrick1982
    Patrick1982 over 14 years ago

     Hi Lawrence and Andrew,

    I've got another question for you guys.  Similar to my original question, I have a string "3u" but I want to convert it to a float, is there a way for me to just ignore the "u" in the string?

    Thanks very much,

    Patrick

    • 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