• 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. [pCell Error] Faulty pcell-schematic

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 143
  • Views 8602
  • 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

[pCell Error] Faulty pcell-schematic

Socks and Shoes
Socks and Shoes over 2 years ago

I Skill-coded two Pcells: A layout the schematic. The symbol is generated by the schematic-pcell. The LVS of the two pcells is clean.

BUT: Whenever I try to place my layout-Pcell into another layout and try the LVS, the LVS-Check stops after a short period of time and I get the following Errors from the LVS-console:


*Error*   Could not determine the node name for terminal '"D"'.  This may be caused by an error in the CDF specified on:
            component   : ne5
             named       : /I0
             in cellview : Test/schematic
             of library  : work_jw
"ERROR (OSSHNL-524): Netlisting failed because the function 'hnlNetNameOnTerm' was called with a non-existent terminal 'G' on the current instance 'I0' in the design 'work_jw/Test/schematic'. Provide a valid terminal name with this function and regenerate the netlist.\n\n"


*Error*   Could not determine the node name for terminal '"G"'.  This may be caused by an error in the CDF specified on:
             component   : ne5
             named       : /I0
             in cellview : Test/schematic
             of library  : work_jw
"ERROR (OSSHNL-524): Netlisting failed because the function 'hnlNetNameOnTerm' was called with a non-existent terminal 'S' on the current instance 'I0' in the design 'work_jw/Test/schematic'. Provide a valid terminal name with this function and regenerate the netlist.\n\n"


*Error*   Could not determine the node name for terminal '"S"'.  This may be caused by an error in the CDF specified on:
             component   : ne5
             named       : /I0
             in cellview : Test/schematic
             of library  : work_jw
"ERROR (OSSHNL-524): Netlisting failed because the function 'hnlNetNameOnTerm' was called with a non-existent terminal 'B' on the current instance 'I0' in the design 'work_jw/Test/schematic'. Provide a valid terminal name with this function and regenerate the netlist.\n\n"


*Error*   Could not determine the node name for terminal '"B"'.  This may be caused by an error in the CDF specified on:
             component   : ne5
             named       : /I0
             in cellview : Test/schematic
             of library  : work_jw
End netlisting Feb  1 14:31:20 2023
ERROR (OSSHNL-514): Netlist generation failed because of the errors reported above. The netlist might not have been generated at all, or the generated netlist could be corrupt. Fix the reported errors and regenerate the netlist.

I replaced the coded pcell schematic with a schematic I designed in the schematic editor, and ta da. The LVS is working now. So I strongly assume, that I forgot something in the skill-Code of the pcell - schematic.

Do you have an idea, what I did wrong? Skill-Code is posted below.

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

    You didn't post the SKILL code of the Schematic PCell. Can you upload that please?

    (by the way, your original post went to moderation as the repeated text in the post triggers the "potential spam" check).

    Regards,

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Socks and Shoes
    Socks and Shoes over 2 years ago in reply to Andrew Beckett

    ; ******************************************************* Schematic-Pcell *******************************************************

    pcDefinePCell(
        
        list(ddGetObj("work_jw") "Test" "schematic" "schematic")
        (
        )


            then
            master = dbCreateInst(pcCellView dbOpenCellViewByType("PRIMLIB" "ne5" "symbol") "I0" 0:0 "R0" 1)
            master ~> w = 15u
            master ~> l = 34u


            pinIdl = dbCreateInst(pcCellView dbOpenCellView("basic" "iopin" "symbol" nil "r") "vss" 0.6875:0 "R0")
            net = dbCreateNet(pcCellView "vss")
            dbCreateTerm(net "vss" "inputOutput")
            dbCreatePin(net pinIdl)

            pinIdr = dbCreateInst(pcCellView dbOpenCellView("basic" "iopin" "symbol" nil "r") "vp" -0.375:0 "R0")
            net1 = dbCreateNet(pcCellView "vp")
            dbCreateTerm(net1 "vp" "inputOutput")
            dbCreatePin(net1 pinIdr)

            dbCreateLine(pcCellView list("wire" "drawing") list(-0.375:0 0:0))
            dbCreateLine(pcCellView list("wire" "drawing") list(0.25:0 0.6875:0))
            dbCreateLine(pcCellView list("wire" "drawing") list(0.25:0.1875 0.6875:0.1875))
            dbCreateLine(pcCellView list("wire" "drawing") list(0.25:-0.1875 0.6875:-0.1875))
            dbCreateLine(pcCellView list("wire" "drawing") list(0.6875:0.1875 0.6875:0))
            dbCreateLine(pcCellView list("wire" "drawing") list(0.6875:-0.1875 0.6875:0))


        dbSave(pcCellView)    

    )

    ; ******************************************************* Layout-Pcell *******************************************************


    pcDefinePCell(
        
        list(ddGetObj("work_jw") "Test" "layout")
        (
        )



                dbCreateLabel(pcCellView list("MET1" "TEXT") 20:10 "vss" "centerCenter" "R0" "stick" 0.3)
                dbCreateLabel(pcCellView list("MET1" "TEXT") 20:18.385 "vp" "centerCenter" "R0" "stick" 0.3)


                rodCreateRect(
                    ?layer list("MV" "drawing")
                    ?bBox list(-0.8:-2.55 40.8:23)
                            )


                rodCreateRect(
                    ?layer list("POLY1" "drawing")
                    ?bBox list( 2.775:1.46 36.775:18.835 )
                            )

                rodCreateRect(
                    ?layer list("MET1" "drawing")
                    ?bBox list( 2.775:18 36.775:18.835 )
                    ?netName "vp"
                    ?termName "vp"
                    ?pin t
                            )

                rodCreateRect(
                    ?layer list("DIFF" "drawing")
                    ?bBox list( 39:5 39.45:5.45 )
                            )

                rodCreateRect(
                    ?layer list("MET1" "drawing")
                    ?bBox list( 39:5 39.45:5.45 )
                            )

                rodCreateRect(
                    ?layer list("CONT" "drawing")
                    ?bBox list( 39.115:5.115 39.335:5.335 )
                            )

                rodCreateRect(
                    ?layer list("PIMP" "drawing")
                    ?bBox list( 38.82:4.82 39.63:5.63 )
                            )

                rodCreateRect(
                    ?layer list("MET1" "drawing")
                    ?bBox list( 35:5 39.45:5.45 )
                            )

                rodCreateRect(
                    ?layer list("DIFF" "drawing")
                    ?bBox list( 2.295:1.68 37.255:16.68 )
                            )


                rodCreateRect(
                    ?layer list("MET1" "drawing")
                    ?bBox list( 2.295:1.68 37.255:16.68 )
                    ?netName "vss"
                    ?termName "vss"
                    ?pin t
                            )

                rodCreateRect(
                    ?layer list("NIMP" "drawing")
                    ?bBox list( 2.035:1.2 37.74:17.03 )
                            )

            x = 2.875
            while(x < 35.5
                    rodCreateRect(
                        ?layer list("CONT" "drawing")
                        ?bBox list( x:18.015 (x + 0.22):18.235 )
                                )

                    rodCreateRect(
                        ?layer list("CONT" "drawing")
                        ?bBox list( x:18.515 (x + 0.22):18.735 )
                                )

                x += 0.5
                )

            y = 2.73
            while(y < 16.5
                    rodCreateRect(
                        ?layer list("CONT" "drawing")
                        ?bBox list( 2.395:y 2.615:( y + 0.22 ))
                                )

                    rodCreateRect(
                        ?layer list("CONT" "drawing")
                        ?bBox list( 36.935:y 37.155:( y + 0.22 ))
                                )

                y += 0.47
                )
            y = 1.78
            while(y < 2.7
                    rodCreateRect(
                        ?layer list("CONT" "drawing")
                        ?bBox list( 2.395:y 2.615:( y + 0.22 ))
                                )
                    rodCreateRect(
                        ?layer list("CONT" "drawing")
                        ?bBox list( 36.935:y 37.155:( y + 0.22 ))
                                )
                y += 0.475
                )

    )

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Socks and Shoes
    Socks and Shoes over 2 years ago in reply to Andrew Beckett

    ; ******************************************************* Schematic-Pcell *******************************************************

    pcDefinePCell(
        
        list(ddGetObj("work_jw") "Test" "schematic" "schematic")
        (
        )


            then
            master = dbCreateInst(pcCellView dbOpenCellViewByType("PRIMLIB" "ne5" "symbol") "I0" 0:0 "R0" 1)
            master ~> w = 15u
            master ~> l = 34u


            pinIdl = dbCreateInst(pcCellView dbOpenCellView("basic" "iopin" "symbol" nil "r") "vss" 0.6875:0 "R0")
            net = dbCreateNet(pcCellView "vss")
            dbCreateTerm(net "vss" "inputOutput")
            dbCreatePin(net pinIdl)

            pinIdr = dbCreateInst(pcCellView dbOpenCellView("basic" "iopin" "symbol" nil "r") "vp" -0.375:0 "R0")
            net1 = dbCreateNet(pcCellView "vp")
            dbCreateTerm(net1 "vp" "inputOutput")
            dbCreatePin(net1 pinIdr)

            dbCreateLine(pcCellView list("wire" "drawing") list(-0.375:0 0:0))
            dbCreateLine(pcCellView list("wire" "drawing") list(0.25:0 0.6875:0))
            dbCreateLine(pcCellView list("wire" "drawing") list(0.25:0.1875 0.6875:0.1875))
            dbCreateLine(pcCellView list("wire" "drawing") list(0.25:-0.1875 0.6875:-0.1875))
            dbCreateLine(pcCellView list("wire" "drawing") list(0.6875:0.1875 0.6875:0))
            dbCreateLine(pcCellView list("wire" "drawing") list(0.6875:-0.1875 0.6875:0))


        dbSave(pcCellView)    

    )

    ; ******************************************************* Layout-Pcell *******************************************************


    pcDefinePCell(
        
        list(ddGetObj("work_jw") "Test" "layout")
        (
        )



                dbCreateLabel(pcCellView list("MET1" "TEXT") 20:10 "vss" "centerCenter" "R0" "stick" 0.3)
                dbCreateLabel(pcCellView list("MET1" "TEXT") 20:18.385 "vp" "centerCenter" "R0" "stick" 0.3)


                rodCreateRect(
                    ?layer list("MV" "drawing")
                    ?bBox list(-0.8:-2.55 40.8:23)
                            )


                rodCreateRect(
                    ?layer list("POLY1" "drawing")
                    ?bBox list( 2.775:1.46 36.775:18.835 )
                            )

                rodCreateRect(
                    ?layer list("MET1" "drawing")
                    ?bBox list( 2.775:18 36.775:18.835 )
                    ?netName "vp"
                    ?termName "vp"
                    ?pin t
                            )

                rodCreateRect(
                    ?layer list("DIFF" "drawing")
                    ?bBox list( 39:5 39.45:5.45 )
                            )

                rodCreateRect(
                    ?layer list("MET1" "drawing")
                    ?bBox list( 39:5 39.45:5.45 )
                            )

                rodCreateRect(
                    ?layer list("CONT" "drawing")
                    ?bBox list( 39.115:5.115 39.335:5.335 )
                            )

                rodCreateRect(
                    ?layer list("PIMP" "drawing")
                    ?bBox list( 38.82:4.82 39.63:5.63 )
                            )

                rodCreateRect(
                    ?layer list("MET1" "drawing")
                    ?bBox list( 35:5 39.45:5.45 )
                            )

                rodCreateRect(
                    ?layer list("DIFF" "drawing")
                    ?bBox list( 2.295:1.68 37.255:16.68 )
                            )


                rodCreateRect(
                    ?layer list("MET1" "drawing")
                    ?bBox list( 2.295:1.68 37.255:16.68 )
                    ?netName "vss"
                    ?termName "vss"
                    ?pin t
                            )

                rodCreateRect(
                    ?layer list("NIMP" "drawing")
                    ?bBox list( 2.035:1.2 37.74:17.03 )
                            )

            x = 2.875
            while(x < 35.5
                    rodCreateRect(
                        ?layer list("CONT" "drawing")
                        ?bBox list( x:18.015 (x + 0.22):18.235 )
                                )

                    rodCreateRect(
                        ?layer list("CONT" "drawing")
                        ?bBox list( x:18.515 (x + 0.22):18.735 )
                                )

                x += 0.5
                )

            y = 2.73
            while(y < 16.5
                    rodCreateRect(
                        ?layer list("CONT" "drawing")
                        ?bBox list( 2.395:y 2.615:( y + 0.22 ))
                                )

                    rodCreateRect(
                        ?layer list("CONT" "drawing")
                        ?bBox list( 36.935:y 37.155:( y + 0.22 ))
                                )

                y += 0.47
                )
            y = 1.78
            while(y < 2.7
                    rodCreateRect(
                        ?layer list("CONT" "drawing")
                        ?bBox list( 2.395:y 2.615:( y + 0.22 ))
                                )
                    rodCreateRect(
                        ?layer list("CONT" "drawing")
                        ?bBox list( 36.935:y 37.155:( y + 0.22 ))
                                )
                y += 0.475
                )

    )

    • 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