• 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. linereadstring() function problem

Stats

  • Locked Locked
  • Replies 6
  • Subscribers 143
  • Views 14876
  • 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

linereadstring() function problem

tyanata
tyanata over 14 years ago

 Hello,

I have such problem in my SKILL code. In one of the routines of it I create list of strings. And after that read them one by one and transform to symbols with the linereadstring()  function.

 

I have such a proble for example:

llinereadstring("x") 

returns  ->(x)

 

llinereadstring("X") 

returns  ->(X)

 

llinereadstring("9") 

returns  ->(9)

 

llinereadstring("X9") 

returns  ->(X9)

 

llinereadstring("9X") 

returns  ->

SYNTAX ERROR found at line 1 column 2 of file *string*
*Error* lineread/read: syntax error encountered in input

 

My question is how can I overcome this problem if some of the strings in the list is starting with digit and ends with letter as "9X" in the example above.

 

Best regards,

 

tyanata

 

 

 

 

 

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 14 years ago

    Tyanata,

    I can't see why you would need to have symbols the same as your library names to do this. I can't guess what your problem is without seeing the code (or something representative of it), so unfortunately it's hard for me to assist without some clue as to what the code is doing.

    Can you post the code so that I (or anyone else) can see what the problem is?

    Best Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 14 years ago

    Tyanata,

    I can't see why you would need to have symbols the same as your library names to do this. I can't guess what your problem is without seeing the code (or something representative of it), so unfortunately it's hard for me to assist without some clue as to what the code is doing.

    Can you post the code so that I (or anyone else) can see what the problem is?

    Best Regards,

    Andrew.

    • 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