Home Forums Nazca Inserting Cell in pre-existent .gds layout

Tagged: , ,

This topic contains 2 replies, has 3 voices, and was last updated by  Ronald 2 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #5972

    Hi all,

    I have a template given by my organization and would like to insert my generated cells into the cell-tree of the layout. I have a specific cell in the template, which I should place my design into (replace given cell).

    I have tried loading the layout as a dictionary, but it only loads the topcell I specify, and not the tree. I can load the respective cell as topcell, but later I am not able to insert it back at the specific location in the cell tree. Is there any way I can do this? An example cell tree is given below. As shown in bold font, I want to replace a specific cell in the 3. Hierarchical layer.

    – Wafer
    — AlignmentMarks_ebeam
    — user_area
    user_design <– to be replaced
    — someMarks
    — AlignmentMarks_CP
    — AlignementMarks_DWL

    Thank you for your answers, and I wish you the best of days,

    Killian

    #5975

    Xaveer
    Moderator

    Dear killian.keller,

    This should be straightforward. Suppose your template file (containing the Wafer layout etc.) is called template.gds and your design is called user.gds with top cell name “my_design”, then the following Nazca program should do the trick:

    import nazca as nd

    scellmap = {“user.gds”: {“user_design”: “my_design”}}
    nd.replaceCells(gdsin=”template.gds”, ScellMapping=scellmap)

    If needed, you can replace multiple cells in the template with cells from
    different user designs, by extending the scellmap dictionary.

    Xaveer

    #5978

    Ronald
    Keymaster
Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.