• 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* lineread/read: syntax error encountered in inpu...

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 143
  • Views 6995
  • 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* lineread/read: syntax error encountered in input

SUBBHAREDDY
SUBBHAREDDY over 16 years ago

Hi Guys

I used to get the below error after running set of skcomref commands in CIW window.

Pls help out to resolve the issue.

The sequence of skill code i run in CIW window :

cv=dbOpenCellView("IOLIB_65_M10_CUP_TC_N" "ANA_TC_ISO" "cmos_sch" nil "a")
db : 8967243
wireid=car(schCreateWire( cv "draw" "full" list(0:0 1:0) 0.0625 0.0625 0.0 ))
db : 7857643
schCreateNetExpression( cv [@REDDY:%:REDDY!] wireid (1:0) "REDDY1" "lowerLeft" "R0" "fixed" 0.0625 )
SYNTAX ERROR found at line 7 column 28 of file *ciwInPort*
*Error* lineread/read: syntax error encountered in input

Thanks and regards

Subbhareddy

 

 

  • Cancel
  • skillUser
    skillUser over 16 years ago
     

     Hi Subbhareddy,

    I think that the problem is that the net expression is not enclosed in double quotes - the documentation for schCreateNetExpression shows that the nexExpression argument is a text string:

    schCreateNetExpression( 
    d_cvId
    t_netExpr
    d_glueId
    l_point
    t_justify
    t_orient
    t_fontStyle
    n_fontHeight
    )

    Add the double quotes around [@REDDY:%:REDDY!] and it should be syntactically correct.

    Regards,

    Lawrence.

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • SUBBHAREDDY
    SUBBHAREDDY over 16 years ago

    Yes,you are correct,documentation shows like that only,i tried in that way also.

    I used to get different error as of below :

    schCreateNetExpression(cv "[@REDDY:%:REDDY!]" wireid (1:0) "REDDY" "lowerLeft" "R0" "fixed" 0.0625 )

    *Error* schCreateNetExpression: too many arguments (8 expected, 9 given) - (db:79867948 "[@REDDY:%:REDDY!]" db:85983388 (1 0) "REDDY1" ... )

     

    Thanks and regards

    Subbhareddy 

     

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • SUBBHAREDDY
    SUBBHAREDDY over 16 years ago

    Hi Guys

    The issue was dbOpenCellView is replaced by dbOpenCellViewByType function.

     

    Thanks and regards

    Subbhareddy 

    • 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