• 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. Streaming out pcells to gds

Stats

  • Locked Locked
  • Replies 11
  • Subscribers 143
  • Views 18299
  • 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

Streaming out pcells to gds

mtwadeCU
mtwadeCU over 11 years ago

Hi,

While I'm actively developing a pcell, it is useful to be able to stream out a gds directly from the pcell without instantiating it in another layout first. However, when I try to stream out the pcell using the CIW File -> Export -> Stream, the streamed out file is empty and the "Summary of Objects Translated" message to the CIW shows that zero shapes were translated. If I first create a new layout cellview and instantiate the pcell in that layout, I can stream things out just fine. Is there a way to stream out a pcell without first instantiating it in a larger layout? 

Thanks,

Mark 

  • Cancel
Parents
  • lkphoto
    lkphoto over 11 years ago
    Andrew,
    Your example works to me when slightly modified, and I get the correct number of shapes.
    When I try it in its original form, I get the same failure as before: no shapes are streamed out. I am using IC6.1.6.101.
    Streaming out a pCell did not work either with 6.1.4.xxx (where xxx = 500.10 probably). But I agree that works fine with IC6.1.5.500, which has been of great help.

    However, if I place the dbSave and dbReopen inside the pcDefinePCell definition like this:

    pcDefinePCell(
        list(ddGetObj("example") "example" "layout")
        (
            (w 1.0)
            (l 1.0)
            (repeatX 10)
            (repeatY 5)
            (spacing 0.5)
        )
        let((x y)
            for(i 1 repeatX
                for(j 1 repeatY
                    x=(i-1)*(w+spacing)
                    y=(j-1)*(l+spacing)
                    dbCreateRect(pcCellView list("rx" "drawing") list(x:y x+w:y+l))
                )
            )
        )
        dbSave(pcCellView)
        dbReopen(pcCellView "r")   
    )

    then it works and exports only 50 rectangles as it should (if I counted them right) and 1 Cell.

    I also get these printed in CIW:
    Generating Pcell for 'example layout'.
    *WARNING* (DB-270000): dbMakeParamCell: Cannot modify a read-only design
    *WARNING* (DB-270000): dbSave: Attempt to save a read-only design
    *WARNING* Can't save superMaster.
    nil

    Kind regards,
    lkphoto
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • lkphoto
    lkphoto over 11 years ago
    Andrew,
    Your example works to me when slightly modified, and I get the correct number of shapes.
    When I try it in its original form, I get the same failure as before: no shapes are streamed out. I am using IC6.1.6.101.
    Streaming out a pCell did not work either with 6.1.4.xxx (where xxx = 500.10 probably). But I agree that works fine with IC6.1.5.500, which has been of great help.

    However, if I place the dbSave and dbReopen inside the pcDefinePCell definition like this:

    pcDefinePCell(
        list(ddGetObj("example") "example" "layout")
        (
            (w 1.0)
            (l 1.0)
            (repeatX 10)
            (repeatY 5)
            (spacing 0.5)
        )
        let((x y)
            for(i 1 repeatX
                for(j 1 repeatY
                    x=(i-1)*(w+spacing)
                    y=(j-1)*(l+spacing)
                    dbCreateRect(pcCellView list("rx" "drawing") list(x:y x+w:y+l))
                )
            )
        )
        dbSave(pcCellView)
        dbReopen(pcCellView "r")   
    )

    then it works and exports only 50 rectangles as it should (if I counted them right) and 1 Cell.

    I also get these printed in CIW:
    Generating Pcell for 'example layout'.
    *WARNING* (DB-270000): dbMakeParamCell: Cannot modify a read-only design
    *WARNING* (DB-270000): dbSave: Attempt to save a read-only design
    *WARNING* Can't save superMaster.
    nil

    Kind regards,
    lkphoto
    • 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