Home > Community > Forums > Custom IC SKILL > *Error* lineread/read: syntax error encountered in input

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 *Error* lineread/read: syntax error encountered in input 

Last post Thu, Mar 5 2009 1:22 AM by SUBBHAREDDY. 3 replies.
Started by SUBBHAREDDY 04 Mar 2009 09:26 PM. Topic has 3 replies and 3829 views
Page 1 of 1 (4 items)
Sort Posts:
  • Wed, Mar 4 2009 9:26 PM

    *Error* lineread/read: syntax error encountered in input Reply

    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

     

     

    • Post Points: 20
  • Wed, Mar 4 2009 9:35 PM

    • skillUser
    • Top 10 Contributor
    • Joined on Fri, Sep 19 2008
    • Austin, TX
    • Posts 2,535
    • Points 14,940
    Re: *Error* lineread/read: syntax error encountered in input Reply
     

     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.

     

    • Post Points: 20
  • Wed, Mar 4 2009 10:20 PM

    Re: *Error* lineread/read: syntax error encountered in input Reply

    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 

     

     

    • Post Points: 5
  • Thu, Mar 5 2009 1:22 AM

    Re: *Error* lineread/read: syntax error encountered in input Reply

    Hi Guys

    The issue was dbOpenCellView is replaced by dbOpenCellViewByType function.

     

    Thanks and regards

    Subbhareddy 

    • Post Points: 5
Page 1 of 1 (4 items)
Sort Posts:
Started by SUBBHAREDDY at 04 Mar 2009 09:26 PM. Topic has 3 replies.