• 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
  • Andrew Beckett
    Andrew Beckett over 11 years ago

    Mark,

    I've tried streaming out from VM works in all IC616 subversions (base release, plus ISR1 to ISR7). However, I found that adding a dbSave() wasn't enough to make it work without save from VM. I also had to do a "make readonly" (in essence):

     cv=pcDefinePCell(
        list(ddGetObj("example") "example" "layout")
        (
            (w 1.0)
            (l 1.0)
            (repeatX 10)
            (repeatY 5)
            (spacing 0.5)
            (layer "Metal1")
        )
        let((x y)
            for(i 1 repeatX
                for(j 1 repeatY
                    x=(i-1)*(w+spacing)
                    y=(j-1)*(l+spacing)
                    dbCreateRect(pcCellView layer list(x:y x+w:y+l))
                )
            )
        )
    )
    dbSave(cv)
    ; need this for some reason to allow stream out from disk!
    dbReopen(cv "r")

    In IC615 this last line wasn't necessary.

    Also in IC616 (all versions that I tried), it seemed to be outputting 100 rectangles rather than 50. As far as I can see, it has two copies of each rectangle in the stream file.

    Something odd going on here...

    If you can send me a private message to say what organisation you work for, I can log this as a CCR on your behalf. At the very least you've got a workaround of being able to do the dbReopen.

    Regards,

    Andrew.

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

    Mark,

    I've tried streaming out from VM works in all IC616 subversions (base release, plus ISR1 to ISR7). However, I found that adding a dbSave() wasn't enough to make it work without save from VM. I also had to do a "make readonly" (in essence):

     cv=pcDefinePCell(
        list(ddGetObj("example") "example" "layout")
        (
            (w 1.0)
            (l 1.0)
            (repeatX 10)
            (repeatY 5)
            (spacing 0.5)
            (layer "Metal1")
        )
        let((x y)
            for(i 1 repeatX
                for(j 1 repeatY
                    x=(i-1)*(w+spacing)
                    y=(j-1)*(l+spacing)
                    dbCreateRect(pcCellView layer list(x:y x+w:y+l))
                )
            )
        )
    )
    dbSave(cv)
    ; need this for some reason to allow stream out from disk!
    dbReopen(cv "r")

    In IC615 this last line wasn't necessary.

    Also in IC616 (all versions that I tried), it seemed to be outputting 100 rectangles rather than 50. As far as I can see, it has two copies of each rectangle in the stream file.

    Something odd going on here...

    If you can send me a private message to say what organisation you work for, I can log this as a CCR on your behalf. At the very least you've got a workaround of being able to do the dbReopen.

    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