• 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. Print Alphabets in Skill

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 144
  • Views 14563
  • 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

Print Alphabets in Skill

Sridhar123
Sridhar123 over 12 years ago

Hello all,

 Could you please help me of how to print Alphabets in Skill.  I tried using the formatted output "%c" but it is not working (as in "C" language %c would print the corresponding ascii value) but here it was printing only the first character of a string.

Thank you very much in advance.

 

Regards,

Sri.

 

  • Cancel
  • marcelpreda
    marcelpreda over 12 years ago

     Hi Sri,

     

    Not sure what "to print Alphabets" means, but I guess that "%s" is what you want (like in C) .

    BR,

    Marcel

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Sridhar123
    Sridhar123 over 12 years ago

     HI Marcel,

     

    What I mean is how to print the complete series of alphabets from "a" to "z" and capital letters from"A" to "Z" using for loop.

    In C we can use  some thing like :

    char c;

    for(c = 97; c <= 122; c++){
    printf("%c",c);
    }

    But how to print this in skill.

     

    BR,

    Sri. 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago

    Like Marcel, I too can't work out what you mean by "print alphabets", but maybe you're after the intToChar function?

    SKILL doesn't have a char type, so the closest equivalent to a char is a single character string or single character symbol.

    Regards,

    Andrew 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago
    I'd not seen your reply when I posted, but intToChar is definitely what you want from what you've now described. 
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Sridhar123
    Sridhar123 over 12 years ago

     Hi Andrew,

     Thank you very much for your quick response , this is what I was looking for.

     

    Best regards,

    Sri.

     

    • 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